From b3c028bd7ad0b7a70dfa233cb301b59cbb30f93b Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Fri, 18 Dec 2020 21:23:02 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D1=83=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=B2=D1=88=D0=B5=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reader/ReaderDialogs/ReaderDialogs.vue | 53 +------------------ 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/client/components/Reader/ReaderDialogs/ReaderDialogs.vue b/client/components/Reader/ReaderDialogs/ReaderDialogs.vue index cf0ed906..fbf7475a 100644 --- a/client/components/Reader/ReaderDialogs/ReaderDialogs.vue +++ b/client/components/Reader/ReaderDialogs/ReaderDialogs.vue @@ -57,37 +57,6 @@ Напомнить позже - - - - -
- Создан новый ресурс:

- - https://liberama.top -

- Это клон читалки Omni Reader, но с некоторыми дополнениями, ориентированными в сторону более свободного обмена книгами: - -
    -
  • добавлено новое окно "Библиотека" для свободного доступа к Флибусте и другим ресурсам по желанию читателя
  • -
  • планируется добавить возможность создания подборок книг и обмена ими между пользователями
  • -
- - Легко мигрировать на новый сайт можно с помощью синхронизации с сервером. - О багах и предложениях просьба сообщать на почту bookpauk@gmail.com

- Спасибо, что вы с нами! -

-
- Помочь проекту -
-
- - - Больше не показывать - -
@@ -114,7 +83,6 @@ class ReaderDialogs extends Vue { whatsNewVisible = false; whatsNewContent = ''; donationVisible = false; - liberamaTopVisible = false; created() { this.commit = this.$store.commit; @@ -127,14 +95,12 @@ class ReaderDialogs extends Vue { async init() { await this.showWhatsNew(); await this.showDonation(); - await this.showLiberamaTop(); } loadSettings() { const settings = this.settings; this.showWhatsNewDialog = settings.showWhatsNewDialog; this.showDonationDialog2020 = settings.showDonationDialog2020; - this.showLiberamaTopDialog2020 = settings.showLiberamaTopDialog2020; } async showWhatsNew() { @@ -171,7 +137,6 @@ class ReaderDialogs extends Vue { openDonate() { this.donationVisible = false; - this.liberamaTopVisible = false; this.$emit('donate-toggle'); } @@ -210,24 +175,8 @@ class ReaderDialogs extends Vue { return this.$store.state.reader.donationRemindDate; } - async showLiberamaTop() { - const today = utils.formatDate(new Date(), 'coDate'); - - if (this.mode == 'omnireader' && today < '2020-12-01' && this.showLiberamaTopDialog2020) { - await utils.sleep(3000); - this.liberamaTopVisible = true; - } - } - - liberamaTopDialogDisable() { - this.liberamaTopVisible = false; - if (this.showLiberamaTopDialog2020) { - this.commit('reader/setSettings', { showLiberamaTopDialog2020: false }); - } - } - keyHook() { - if (this.$refs.dialog1.active || this.$refs.dialog2.active || this.$refs.dialog3.active) + if (this.$refs.dialog1.active || this.$refs.dialog2.active) return true; return false; }