diff --git a/src/_h5ai/client/js/inc/ext/qrcode.js b/src/_h5ai/client/js/inc/ext/qrcode.js index 55732805..765ed9c7 100644 --- a/src/_h5ai/client/js/inc/ext/qrcode.js +++ b/src/_h5ai/client/js/inc/ext/qrcode.js @@ -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 }); }); },