diff --git a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j index 3715e4cc6..11c7a0a64 100644 --- a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j +++ b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j @@ -192,7 +192,6 @@ var ModifierKeyCodes = [ ], supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop]; -// this probably shouldn't be a global variable. Feel free to put it somewhere appropriate. var resizeTimer = nil; @implementation CPPlatformWindow (DOM) @@ -1094,7 +1093,7 @@ var resizeTimer = nil; resizeTimer = [CPTimer scheduledTimerWithTimeInterval:0.2 target:self selector:@selector(actualResizeEvent) userInfo:nil repeats:NO]; } --(void)actualResizeEvent +- (void)actualResizeEvent { resizeTimer = nil;