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',