Работа над LibsPage

This commit is contained in:
Book Pauk
2020-10-29 23:29:10 +07:00
parent ac63ad4612
commit c35b2f3bfc
2 changed files with 2 additions and 2 deletions

View File

@@ -401,7 +401,7 @@ class ExternalLibs extends Vue {
}
addBookmark() {
this.bookmarkLink = '';
this.bookmarkLink = (this.bookUrl ? this.makeProxySubst(this.addProtocol(this.bookUrl), true) : '');
this.bookmarkDesc = '';
this.addBookmarkVisible = true;
this.$nextTick(() => {

View File

@@ -32,7 +32,7 @@ class LibsPage extends Vue {
init() {
if (this.mode != 'liberama.top')
return;
this.childReady = false;
const subdomain = (window.location.protocol != 'http:' ? 'b.' : '');
this.origin = `http://${subdomain}${window.location.host}`;