1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-01 02:05:33 +00:00

[test] location.toString() -> location.href

This commit is contained in:
Witold Filipczyk 2021-09-18 10:42:35 +02:00
parent da7ed8f90b
commit 4e61b886bb

View File

@ -64,7 +64,7 @@ function doc_replace(needle,heystack) {
} }
function findGetParameter(paramName) { function findGetParameter(paramName) {
var res = null; var res = null;
loc=document.location.toString(); loc=document.location.href;
//console.log(loc); //console.log(loc);
elems=loc.split('?')[1]; elems=loc.split('?')[1];
if (!elems) { return(res); } if (!elems) { return(res); }