mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Fix QR code URI origin.
This commit is contained in:
parent
9a453f768c
commit
81465fd2f9
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ modulejs.define('ext/qrcode', ['_', '$', 'modernizr', 'core/settings', 'core/eve
|
|||
height: settings.size,
|
||||
color: '#333',
|
||||
bgColor: '#fff',
|
||||
text: 'http://' + document.domain + item.absHref
|
||||
text: window.location.protocol + '//' + window.location.host + item.absHref
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue