From 498a031cabcc5c138b95406075f2d4f1865b5d05 Mon Sep 17 00:00:00 2001 From: Junior Date: Tue, 22 Aug 2023 14:03:39 -0400 Subject: [PATCH] Immediately clear toastr message after thumbnails are displayed on folder change --- js/comics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/comics.js b/js/comics.js index 7fe5b22..ca6a340 100644 --- a/js/comics.js +++ b/js/comics.js @@ -21,6 +21,7 @@ function getFolderContents() { }); $(".folder").click(function() { changeFolder($(this).data("name"), $(this).data("path")); }); $(".issue").click(function() { $(this).parent().addClass("readborder"); showComic($(this).data("relcomic"), $(this).data("comname")); }); + toastr.remove(); } }); }