Добавил ссылку на комментарии

This commit is contained in:
Book Pauk
2019-01-11 16:22:47 +07:00
parent 24d35ea8ca
commit 2b6c3f1c0e

View File

@@ -15,6 +15,7 @@
</el-button>
</div>
<div class="part bottom">
<span v-if="config.mode == 'omnireader'" class="bottom-span clickable" @click="openComments">Комментарии</span>
<span class="bottom-span clickable" @click="openHelp">Справка</span>
<span class="bottom-span">{{ version }}</span>
</div>
@@ -64,6 +65,10 @@ class LoaderPage extends Vue {
openHelp() {
}
openComments() {
window.open('http://samlib.ru/comment/b/bookpauk/bookpauk_reader', '_blank');
}
keyHook(event) {
//недостатки сторонних ui
if (document.activeElement == this.$refs.input.$refs.input && event.type == 'keyup' && event.key == 'Enter')