mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05: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) {
|
||||
var res = null;
|
||||
loc=document.location.toString();
|
||||
loc=document.location.href;
|
||||
//console.log(loc);
|
||||
elems=loc.split('?')[1];
|
||||
if (!elems) { return(res); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user