diff --git a/htdocs/core/js/lib_foot.js.php b/htdocs/core/js/lib_foot.js.php index 40596596b97..d04379210a6 100644 --- a/htdocs/core/js/lib_foot.js.php +++ b/htdocs/core/js/lib_foot.js.php @@ -184,7 +184,8 @@ print ' { if (this.href) { - this.href=this.href+\'&page_y=\'+page_y; + var hrefarray = this.href.split("#", 2); + this.href=hrefarray[0]+\'&page_y=\'+page_y; console.log("We click on tag with .reposition class. this.ref is now "+this.href); } else