Temporary fix until Francisco merges in the menu branch.

This commit is contained in:
Ross Boucher committed 2009-12-03 19:31:52 -08:00
1 parent 01d60ad4e9
commit 936d65291f
1 file changed
+1 -1
+1 -1
View File
@@ -1292,7 +1292,7 @@ var STICKY_TIME_INTERVAL = 500,
var menuLocation = [self convertGlobalToBase:globalLocation],
activeItemIndex = [_menuView itemIndexAtPoint:[_menuView convertPoint:menuLocation fromView:nil]],
mouseOverMenuView = [[menu itemAtIndex:activeItemIndex] view];
mouseOverMenuView = activeItemIndex !== CPNotFound ? [[menu itemAtIndex:activeItemIndex] view] : nil;
// If we're over a custom menu view...
if (mouseOverMenuView)