Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam committed Dec 5, 2024
1 parent e8490e2 commit 734b8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/ReaderPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class ReaderPanel extends Component {
return this.state.width > 500 ? this.state.settings.biLayout : "stacked";
}
// dont allow continuous mode in sidebar since it's currently not possible to control layout from sidebar
if (this.state.mode === "Connections") {return "segmented"}
if (this.state.mode === "Connections") {return "continuous"}
const category = this.currentCategory();
const option = (category && (category === "Tanakh" || category === "Talmud")) ? "layout" + category : "layoutDefault";
return this.state.settings[option];
Expand Down

0 comments on commit 734b8d4

Please sign in to comment.