Explorar o código

Мелкая поправка

Book Pauk %!s(int64=5) %!d(string=hai) anos
pai
achega
1059245fd9
Modificáronse 1 ficheiros con 7 adicións e 4 borrados
  1. 7 4
      client/components/Reader/TextPage/TextPage.vue

+ 7 - 4
client/components/Reader/TextPage/TextPage.vue

@@ -460,10 +460,13 @@ class TextPage extends Vue {
         /*this.page1 = null;
         this.page2 = null;
         this.statusBar = null;*/
-
-        this.calcDrawProps();
-        this.setBackground();
-        this.draw();
+        try {
+            this.calcDrawProps();
+            this.setBackground();
+            this.draw();
+        } catch (e) {
+            //
+        }
     }
 
     get settings() {