diff options
| author | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-05-28 19:17:46 +0000 |
|---|---|---|
| committer | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-05-28 19:17:46 +0000 |
| commit | ffa23c21cac4351d5833c4011e0f592e5fe9caf1 (patch) | |
| tree | 987a829ca8f99f472184419248dc4151ec986561 /javascript | |
| parent | 1e3294e60e8d3d0387c84bec792a8e5c98f15b1a (diff) | |
| download | util-ffa23c21cac4351d5833c4011e0f592e5fe9caf1.tar.gz util-ffa23c21cac4351d5833c4011e0f592e5fe9caf1.tar.bz2 util-ffa23c21cac4351d5833c4011e0f592e5fe9caf1.zip | |
wrapped iefix in if to check for null admin menu
Diffstat (limited to 'javascript')
| -rw-r--r-- | javascript/bitweaver.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/javascript/bitweaver.js b/javascript/bitweaver.js index 7ffb1eb..f779fd2 100644 --- a/javascript/bitweaver.js +++ b/javascript/bitweaver.js @@ -1,4 +1,4 @@ -// $Header: /cvsroot/bitweaver/_bit_util/javascript/bitweaver.js,v 1.42 2009/05/05 02:55:33 spiderr Exp $ +// $Header: /cvsroot/bitweaver/_bit_util/javascript/bitweaver.js,v 1.43 2009/05/28 19:17:46 tylerbello Exp $ // please modify this file and leave plenty of comments. This file will be // compressed automatically. Please make sure you only use comments beginning @@ -1044,6 +1044,7 @@ BitBase = { ** Extremely lightweight fixIEDropMenu function to support css drop menus for all browsers without need for 30K of fixes/ie7.js **/ "fixIEDropMenu": function( pMenuId ) { + if(document.getElementById(pMenuId)){ var menuItems = document.getElementById(pMenuId).getElementsByTagName("LI"); for( var i=0; i< menuItems.length; i++ ) { menuItems[i].onmouseover=function() { @@ -1054,7 +1055,7 @@ BitBase = { } } } - +} }; |
