Fix for incorrect menu logic.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-01-05 19:20:47 -08:00
1 parent b7d747ee17
commit af03085d5f
1 file changed
+2 -1
+2 -1
View File
@@ -896,7 +896,8 @@ var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
// We should pay attention to mouse down and mouse up in conjunction with this.
//window.liveResize = YES;
[CPApp._activeMenu cancelTracking];
if ([CPPlatform isBrowser])
[CPApp._activeMenu cancelTracking];
var oldSize = [self contentRect].size;