Backport of Nathans fix for possible undefined var

This commit is contained in:
Klaus Leithoff 2010-04-06 10:53:27 +00:00
parent a87f6bdf33
commit df0f89ecf8

View File

@ -152,7 +152,7 @@ function dropdown_menu_hack(el)
{ {
if(el.runtimeStyle) if(el.runtimeStyle)
{ {
if(enable_ie_dropdownmenuhack) { if(typeof(enable_ie_dropdownmenuhack)!=='undefined') {
if (enable_ie_dropdownmenuhack==1){} else return; if (enable_ie_dropdownmenuhack==1){} else return;
} else { } else {
return; return;