From 1cf1ebb81ede005a5ecf9193621952993ce17d2b Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 16 Jan 2019 15:54:50 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B1=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/Reader.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/Reader/Reader.vue b/client/components/Reader/Reader.vue index b38922c7..773515e7 100644 --- a/client/components/Reader/Reader.vue +++ b/client/components/Reader/Reader.vue @@ -72,6 +72,8 @@ export default @Component({ const textPage = this.$refs.page; if (textPage.bookPos != newValue) { textPage.bookPos = newValue; + } + if (this.lastOpenedBook && this.lastOpenedBook.bookPos != newValue) { this.commit('reader/setOpenedBook', Object.assign({}, this.lastOpenedBook, {bookPos: newValue})); } }