Don't try to change the path if at the top level and trying to change to that level

This commit is contained in:
Junior 2023-08-22 13:59:37 -04:00
parent 08c0367d4d
commit 4b42798642

View File

@ -36,6 +36,7 @@ function updatePathNavigator() {
}
function changeFolder(name, path) {
if ( path == curpath ) return;
toastr.success("Opening comic \"" + name + "\"<br>If this is the first time it may take a while to generate thumbnails.");
$.ajax({
url : 'ajax/setpath.php',