From 614a2b94094d16b60bc4d5f27bf2414604df57ad Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sat, 2 Feb 2019 21:36:35 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Reader/SetPositionPage/SetPositionPage.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/components/Reader/SetPositionPage/SetPositionPage.vue b/client/components/Reader/SetPositionPage/SetPositionPage.vue index b96620ca..52206a4a 100644 --- a/client/components/Reader/SetPositionPage/SetPositionPage.vue +++ b/client/components/Reader/SetPositionPage/SetPositionPage.vue @@ -28,7 +28,7 @@ export default @Component({ }, watch: { sliderValue: function(newValue) { - this.debouncedEmitPosChange(newValue); + this.$emit('book-pos-changed', {bookPos: newValue}); }, }, }) @@ -39,10 +39,6 @@ class SetPositionPage extends Vue { created() { this.commit = this.$store.commit; this.reader = this.$store.state.reader; - - this.debouncedEmitPosChange = _.debounce((newValue) => { - this.$emit('book-pos-changed', {bookPos: newValue}); - }, 300); } formatTooltip(val) {