1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-26 01:15:37 +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) {
var res = null;
loc=document.location.toString();
loc=document.location.href;
//console.log(loc);
elems=loc.split('?')[1];
if (!elems) { return(res); }