diff --git a/components/modals/Modal.vue b/components/modals/Modal.vue
index 1a566641..88c76006 100644
--- a/components/modals/Modal.vue
+++ b/components/modals/Modal.vue
@@ -70,9 +70,9 @@ export default {
}
},
methods: {
- clickBg(vm, ev) {
+ clickBg(ev) {
if (this.processing && this.persistent) return
- if (vm.srcElement.classList.contains('modal-bg')) {
+ if (ev && ev.srcElement && ev.srcElement.classList.contains('modal-bg')) {
this.show = false
}
},
diff --git a/components/readers/EpubReader.vue b/components/readers/EpubReader.vue
index 4397422e..11801798 100644
--- a/components/readers/EpubReader.vue
+++ b/components/readers/EpubReader.vue
@@ -39,7 +39,7 @@ export default {
return this.$store.state.playerLibraryItemId
},
readerHeightOffset() {
- return this.playerLibraryItemId ? 164 : 64
+ return this.playerLibraryItemId ? 196 : 96
}
},
methods: {
@@ -140,13 +140,13 @@ export default {
\ No newline at end of file
diff --git a/components/readers/Reader.vue b/components/readers/Reader.vue
index 9b623216..f202319e 100644
--- a/components/readers/Reader.vue
+++ b/components/readers/Reader.vue
@@ -1,6 +1,6 @@
-