Explorar el Código

Поправка бага

Book Pauk hace 6 años
padre
commit
f4d7b63f4b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      client/components/Reader/Reader.vue

+ 3 - 1
client/components/Reader/Reader.vue

@@ -130,7 +130,7 @@ class Reader extends Vue {
     settingsActive = false;
 
     bookPos = null;
-    allowUrlParamBookPos = true;
+    allowUrlParamBookPos = false;
     showRefreshIcon = true;
 
     created() {
@@ -145,6 +145,8 @@ class Reader extends Vue {
         document.addEventListener('fullscreenchange', () => {
             this.fullScreenActive = (document.fullscreenElement !== null);
         });
+
+        this.allowUrlParamBookPos = this.settings.allowUrlParamBookPos;
     }
 
     mounted() {