Browse Source

Decoding the search term on load

decodeHash
Ryan Wark 4 years ago
parent
commit
2d2a2ef991
  1. 2
      dist/index.html

2
dist/index.html

@ -46,7 +46,7 @@ function init() {
function parseLocation() {
var term = window.location.search || window.location.hash;
if(term.length > 1) {
qrtext.value = term.substring(1);
qrtext.value = decodeURIComponent(term.substring(1));
makeCode(qrtext);
}
}

Loading…
Cancel
Save