From 4b42798642a868873aa619b28b5cab6ee2431f9b Mon Sep 17 00:00:00 2001 From: Junior Date: Tue, 22 Aug 2023 13:59:37 -0400 Subject: [PATCH] Don't try to change the path if at the top level and trying to change to that level --- js/comics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/comics.js b/js/comics.js index 85f1c76..7fe5b22 100644 --- a/js/comics.js +++ b/js/comics.js @@ -36,6 +36,7 @@ function updatePathNavigator() { } function changeFolder(name, path) { + if ( path == curpath ) return; toastr.success("Opening comic \"" + name + "\"
If this is the first time it may take a while to generate thumbnails."); $.ajax({ url : 'ajax/setpath.php',