diff --git a/lib/scripts/events.js b/lib/scripts/events.js index fb65b1bd707946c29db9aae5b9f709959f5d84f1..1002633cea8d6c646bd26aca3beb92d9a72a9a66 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