X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=405c6be90ed93f43c1f384c1a8fc7f18e2af16bf;hb=912305d5508a628c59a57f977305c3febe1acc70;hp=a673f8c6467a46f6fb4be357b5f4bcdb1dffc97b;hpb=f46e15707f668419a1dea76b5fc690086f9cebcd;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index a673f8c..405c6be 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -777,7 +777,7 @@ function getStatus() { notification = ajaxifyNotification(createNotification(value.id, value.text, value.dismissable)).hide(); if (oldNotification.length != 0) { if (oldNotification.find(".short-text").length > 0) { - opened = !oldNotification.find(".short-text").hasClass("hidden"); + opened = oldNotification.find(".short-text").hasClass("hidden"); notification.find(".short-text").toggleClass("hidden", opened); notification.find(".text").toggleClass("hidden", !opened); }