Ver código fonte

Работа над LibsPage

Book Pauk 4 anos atrás
pai
commit
c35b2f3bfc

+ 1 - 1
client/components/ExternalLibs/ExternalLibs.vue

@@ -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(() => {

+ 1 - 1
client/components/Reader/LibsPage/LibsPage.vue

@@ -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}`;