Prechádzať zdrojové kódy

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

Book Pauk 6 rokov pred
rodič
commit
3f52e78841
1 zmenil súbory, kde vykonal 5 pridanie a 3 odobranie
  1. 5 3
      client/components/Reader/Reader.vue

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

@@ -522,9 +522,11 @@ class Reader extends Vue {
     }
 
     async showClickMapPage() {
-        this.clickMapActive = true;
-        await this.$refs.clickMapPage.slowDisappear();
-        this.clickMapActive = false;
+        if (!this.clickMapActive) {
+            this.clickMapActive = true;
+            await this.$refs.clickMapPage.slowDisappear();
+            this.clickMapActive = false;
+        }
     }
 
     get activePage() {