X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=36db543ec605b38933ad557bf5c353ff8695ec3c;hb=33c7a1d603aa8b68bd908ba9886efd5925ce048e;hp=41883268f458d78183fa6533a9e7c217640f6393;hpb=18634e585d0177afbb5c544d4bd2059199110374;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 4188326..36db543 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1081,8 +1081,8 @@ function createNotification(id, text, dismissable) { * The ID of the notification */ function showNotificationDetails(notificationId) { - $("#sone .notification#" + notificationId + " .text").show(); - $("#sone .notification#" + notificationId + " .short-text").hide(); + $("#sone .notification#" + notificationId + " .text").removeClass("hidden"); + $("#sone .notification#" + notificationId + " .short-text").addClass("hidden"); } /**