Don't try to change the path if at the top level and trying to change to that level
This commit is contained in:
parent
08c0367d4d
commit
4b42798642
|
@ -36,6 +36,7 @@ function updatePathNavigator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeFolder(name, path) {
|
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.");
|
toastr.success("Opening comic \"" + name + "\"<br>If this is the first time it may take a while to generate thumbnails.");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url : 'ajax/setpath.php',
|
url : 'ajax/setpath.php',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user