Мелкий рефакторинг

This commit is contained in:
Book Pauk
2020-11-21 01:13:30 +07:00
parent ec2639039d
commit d46ba6b92b

View File

@@ -250,11 +250,11 @@ class Reader extends Vue {
await this.$nextTick(); await this.$nextTick();
this.paramPosIgnore = false; this.paramPosIgnore = false;
} }
}, 500, {'maxWait':5000}); }, 500, {maxWait: 5000});
this.scrollingSetRecentBook = _.debounce((newValue) => { this.scrollingSetRecentBook = _.debounce((newValue) => {
this.debouncedSetRecentBook(newValue); this.debouncedSetRecentBook(newValue);
}, 15000, {'maxWait':20000}); }, 15000, {maxWait: 20000});
document.addEventListener('fullscreenchange', () => { document.addEventListener('fullscreenchange', () => {
this.fullScreenActive = (document.fullscreenElement !== null); this.fullScreenActive = (document.fullscreenElement !== null);