Commit 5ced2dce authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Add configuration option for PDF side-by-side mode

parent 8c89a08e
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
window.hypothesisConfig = function() { window.hypothesisConfig = function() {
return { return {
// enableExperimentalNewNoteButton: true, // enableExperimentalNewNoteButton: true,
enableExperimentalPDFSideBySide: true,
// showHighlights: 'always', // showHighlights: 'always',
// theme: 'clean', // theme: 'clean',
......
...@@ -22,6 +22,13 @@ export default function configFrom(window_) { ...@@ -22,6 +22,13 @@ export default function configFrom(window_) {
enableExperimentalNewNoteButton: settings.hostPageSetting( enableExperimentalNewNoteButton: settings.hostPageSetting(
'enableExperimentalNewNoteButton' 'enableExperimentalNewNoteButton'
), ),
enableExperimentalPDFSideBySide: settings.hostPageSetting(
'enableExperimentalPDFSideBySide',
{
coerce: toBoolean,
defaultValue: false,
}
),
group: settings.group, group: settings.group,
focus: settings.hostPageSetting('focus'), focus: settings.hostPageSetting('focus'),
theme: settings.hostPageSetting('theme'), theme: settings.hostPageSetting('theme'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment