From ff0509a85680fb8d70a571d0ac85dc0eef86aa64 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sat, 10 Dec 2005 21:44:39 +0100 Subject: [PATCH] JS fixes darcs-hash:20051210204439-7ad00-602f2ab029f37fa3886e826329d1e534811fd1f1.gz --- lib/scripts/events.js | 5 ++--- 1 file 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 -- GitLab