From 4287484dbc9747720f1c3ee34a4fd1fd7f097a9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 24 Nov 2011 12:10:19 +0100 Subject: [PATCH] Fix javascript function declaration. --- src/main/resources/static/javascript/sone.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.7.4