From: David ‘Bombe’ Roden Date: Thu, 24 Nov 2011 11:10:19 +0000 (+0100) Subject: Fix javascript function declaration. X-Git-Tag: 0.7.5^2~4^2~5 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=4287484dbc9747720f1c3ee34a4fd1fd7f097a9e Fix javascript function declaration. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 78d68f1..2b19c36 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1091,7 +1091,7 @@ function ajaxifyNotification(notification) { * Returns the notification hash. This hash is used in {@link #getStatus()} to * determine whether the notifications changed and need to be reloaded. */ -public getNotificationHash() { +function getNotificationHash() { return $("#sone #notification-area #notification-hash").text(); } @@ -1101,7 +1101,7 @@ public getNotificationHash() { * @param notificationHash * The new notification hash */ -public setNotificationHash(notificationHash) { +function setNotificationHash(notificationHash) { $("#sone #notification-area #notification-hash").text(notificationHash); }