From 8ef9e3e39e7aeab2065c521b54b43462c949d31a Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 22 Jul 2008 15:50:05 +0000 Subject: [PATCH] small formatting cleanup --- www/extras/hoverhelp.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/extras/hoverhelp.js b/www/extras/hoverhelp.js index 40c3a7af5..21c304889 100644 --- a/www/extras/hoverhelp.js +++ b/www/extras/hoverhelp.js @@ -6,8 +6,9 @@ function initHoverHelp (root) { var tips; if (root == 'DOMReady') { tips = YAHOO.util.Dom.getElementsByClassName('wg-hoverhelp'); - }else{ - tips = YAHOO.util.Dom.getElementsByClassName('wg-hoverhelp','',root); + } + else { + tips = YAHOO.util.Dom.getElementsByClassName('wg-hoverhelp','',root); } for (var i = tips.length; i--; ) { var myTip = new YAHOO.widget.Tooltip(tips[i], {