Update export.html

The extra / managed to creep back in.
pull/1/head
Viljo Viitanen 2015-09-16 21:29:32 +03:00
rodzic 276c7dfb30
commit 713e30adee
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -105,7 +105,7 @@ function parsexml(param) {
'period' : j['period'],
}
label = (j['issuerExt']) ? j['issuerExt']+':'+j['label'] : j['label'];
uri='otpauth://'+j['type'].toLowerCase()+'/'+encodeURIComponent(label)+'/?'+querydata(param);
uri='otpauth://'+j['type'].toLowerCase()+'/'+encodeURIComponent(label)+'?'+querydata(param);
console.log(uri);
document.getElementById("file").insertAdjacentHTML('afterend', '<p><div>'+name+'</div><div id="'+i+'"></div>' );
new QRCode(document.getElementById(i),uri);