diff options
Diffstat (limited to 'reader.js')
-rwxr-xr-x | reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -585,7 +585,7 @@ $(document).ready(function () { }); $(window).on("beforeunload", (e) => { - if (model.fileName() && model.currentPage() > 0 && !window._readyToQuit) { + if (model.currentPage() > 0 && !window._readyToQuit) { e.preventDefault(); window._readyToQuit = true; |