Fix QR code URI origin.

This commit is contained in:
Lars Jung 2014-05-31 16:43:04 +02:00
parent 9a453f768c
commit 81465fd2f9

View file

@ -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
});
});
},