wok diff sokojs/stuff/multiset.sh @ rev 24134

Up lzsa (1.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 28 18:03:20 2021 +0000 (2021-10-28)
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 Oct 28 18:03:20 2021 +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  +