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:
parent
da7ed8f90b
commit
4e61b886bb
|
@ -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); }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user