From 10d1f180bdae0b1cd18a20e613f2034b53effdf1 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Mon, 4 Feb 2019 20:43:01 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D0=B5=D0=BC=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA?= =?UTF-8?q?=D1=83=20=D0=BD=D0=B0=20=D0=BE=D1=80=D0=B8=D0=B3=D0=B8=D0=BD?= =?UTF-8?q?=D0=B0=D0=BB,=20=D0=B5=D1=81=D0=BB=D0=B8=20=D1=8D=D1=82=D0=BE?= =?UTF-8?q?=20=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=20=D0=B4=D0=B8=D1=81=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/HistoryPage/HistoryPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index 7f0962eb..630654a1 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -65,7 +65,7 @@ min-width="100px" > @@ -211,6 +211,10 @@ class HistoryPage extends Vue { this.close(); } + isUrl(url) { + return (url.indexOf('file://') != 0); + } + close() { this.$emit('history-toggle'); }