fix #1695 better split to get cat id in url

This commit is contained in:
Matthieu Leproux 2022-07-25 12:56:52 +02:00
parent 5c0057aa0e
commit 0a40b38fa2

View file

@ -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){