diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 3bced1d..4354cc0 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -244,7 +244,7 @@ function syncLayoutMode(event) { function resizeViewer() { if (state.doc) { applyFit(false); - if (state.fitMode === "height") { + if (state.fitMode !== "free") { scrollToPage(state.pageIndex); } }