Compare commits
No commits in common. "258c0c82df6c4d9b601bb3cd87053502243853af" and "6460cfca37681ad0a65bf9f14baf44c75869231b" have entirely different histories.
258c0c82df
...
6460cfca37
|
|
@ -138,6 +138,7 @@ function updatePathNavigator() {
|
|||
* @param {string} path - The path of the folder to open.
|
||||
*/
|
||||
function changeFolder(name, path) {
|
||||
toastr.success("If this is the first time it may take a while to generate thumbnails.", "Opening folder \"" + name + "\"");
|
||||
$.ajax({
|
||||
url : 'ajax/setpath.php',
|
||||
data : {path: path},
|
||||
|
|
@ -227,11 +228,6 @@ function showComic(comic, name) {
|
|||
redirectToLogin();
|
||||
return;
|
||||
}
|
||||
toastr.remove();
|
||||
if ( data.images.length == 0 ) {
|
||||
toastr.error("There doesn't seem to be any images in this comic. Please contact the admin!", "Comics is empty", {timeOut: 8000});
|
||||
return;
|
||||
}
|
||||
lightbox = SimpleLightbox.open({
|
||||
items: data.images,
|
||||
captions: data.captions,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user