mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-13 16:54:01 +02:00
Fix QR code URI origin.
This commit is contained in:
@@ -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
|
||||
});
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user