mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-29 12:49:57 +03:00
fix #1695 better split to get cat id in url
This commit is contained in:
parent
5c0057aa0e
commit
0a40b38fa2
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ $(document).ready(() => {
|
|||
}
|
||||
});
|
||||
|
||||
var url_split = window.location.href.split("#");
|
||||
var url_split = window.location.href.split("cat_move");
|
||||
var catToOpen = url_split[url_split.length-1].split("-")[1];
|
||||
|
||||
function isNumeric(num){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue