mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 20:51:15 -07:00
Use .setAttribute()
for QR code address parser
This commit is contained in:
parent
4274a29bd6
commit
3d2959ee51
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ DOCUMENTATION :: END
|
|||
|
||||
function checkQRAddress(url) {
|
||||
var parser = document.createElement('a');
|
||||
parser.href = url;
|
||||
parser.setAttribute('href', url);
|
||||
var hostname = parser.hostname;
|
||||
var protocol = parser.protocol;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue