summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/scripts/events.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/scripts/events.js b/lib/scripts/events.js
index fb65b1bd7..1002633ce 100644
--- a/lib/scripts/events.js
+++ b/lib/scripts/events.js
@@ -79,7 +79,7 @@ window.fireoninit = function() {
if (typeof window.oninit == 'function') {
window.oninit();
}
-}
+};
/**
* This is a pseudo Event that will be fired by the above function
@@ -88,8 +88,7 @@ window.fireoninit = function() {
*
* @author Andreas Gohr
*/
-window.oninit = function() {
-}
+window.oninit = function(){};
/**
* Bind a function to the window.init pseudo event