wok diff sokojs/stuff/multiset.sh @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (22 months ago) |
parents | db9d9cb3c164 |
children |
line diff
1.1 --- a/sokojs/stuff/multiset.sh Sat Oct 23 10:55:42 2021 +0000 1.2 +++ b/sokojs/stuff/multiset.sh Thu Sep 01 11:12:31 2022 +0000 1.3 @@ -51,8 +51,8 @@ 1.4 1.5 +function urlself() 1.6 +{ 1.7 -+ var l = parent.window.location 1.8 -+ return l.href.substring(0, l.href.length - l.search.length - l.hash.length)+ 1.9 ++ var l = parent.window.location.href+"?" 1.10 ++ return l.substring(0, l.search(/[#?]/))+ 1.11 + "?"+CurSet+"/level"+nbLevel+".htm#"+saved 1.12 +} 1.13 +