Fix for possibly undefined variable

This commit is contained in:
Nathan Gray 2010-03-26 16:47:31 +00:00
parent ef4b5a48ab
commit af9df0faf4

View File

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