diff --git a/client/components/Reader/LoaderPage/LoaderPage.vue b/client/components/Reader/LoaderPage/LoaderPage.vue
index ac86d823..e3dcf816 100644
--- a/client/components/Reader/LoaderPage/LoaderPage.vue
+++ b/client/components/Reader/LoaderPage/LoaderPage.vue
@@ -47,6 +47,7 @@
+ Найти книгу
Справка
@@ -55,6 +56,18 @@
+
+
@@ -64,6 +77,7 @@ import vueComponent from '../../vueComponent.js';
import GithubCorner from './GithubCorner/GithubCorner.vue';
+import Dialog from '../../share/Dialog.vue';
import PasteTextPage from './PasteTextPage/PasteTextPage.vue';
import {versionHistory} from '../versionHistory';
import * as utils from '../../../share/utils';
@@ -71,6 +85,7 @@ import * as utils from '../../../share/utils';
const componentOptions = {
components: {
GithubCorner,
+ Dialog,
PasteTextPage,
},
};
@@ -80,6 +95,7 @@ class LoaderPage {
bookUrl = null;
loadPercent = 0;
pasteTextActive = false;
+ findBookVisible = false;
created() {
this.commit = this.$store.commit;
@@ -165,6 +181,10 @@ class LoaderPage {
this.$emit('do-action', {action: 'donate'});
}
+ findBook() {
+ this.findBookVisible = true;
+ }
+
openComments() {
window.open('http://samlib.ru/comment/b/bookpauk/bookpauk_reader', '_blank');
}
@@ -181,6 +201,9 @@ class LoaderPage {
}
keyHook(event) {
+ if (this.$refs.dialog1.active)
+ return true;
+
if (this.pasteTextActive) {
return this.$refs.pasteTextPage.keyHook(event);
}