diff --git a/app/js/animeHandler.js b/app/js/animeHandler.js index b44c3c1..a311d68 100644 --- a/app/js/animeHandler.js +++ b/app/js/animeHandler.js @@ -686,7 +686,6 @@ function getRSSurl() { } } async function releasesCards(items, frag, limit) { - console.log(items, frag, limit) let mediaItems = [] for (let l = 0; l < (limit || items.length); l++) { let i = items[l].querySelector.bind(items[l]) diff --git a/app/js/interface.js b/app/js/interface.js index e3d3328..f3456cb 100644 --- a/app/js/interface.js +++ b/app/js/interface.js @@ -57,8 +57,8 @@ async function loadHomePage() { homeReleases.innerHTML = '' homeReleases.appendChild(gallerySkeletonFrag(4)) resolveFileMedia({ fileName: doc.querySelector("item").querySelector("title").innerHTML, method: "SearchName", isRelease: true }).then(mediaInformation => { - let notification = new Notification('A New Episode Was Released!', { - body: `Episode ${mediaInformation.episode} of ${mediaInformation.media.title.userPrefered} Was Just Released!`, + let notification = new Notification(mediaInformation.media.title.userPreferred, { + body: `Episode ${mediaInformation.episode} was just released!`, icon: mediaInformation.media.coverImage.medium }); notification.onclick = async () => { diff --git a/index.html b/index.html index 024a8e5..cf607c2 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,7 @@