Skip to content

Commit

Permalink
Remove the alert that was added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Boucher committed Sep 18, 2008
1 parent d38eac1 commit 08d0dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AppKit/CPControl.j
Expand Up @@ -253,8 +253,8 @@ var CPControlBlackColor = [CPColor blackColor];

- (void)mouseUp:(CPEvent)anEvent
{
if (_sendActionOn & CPLeftMouseUpMask && CPRectContainsPoint([self bounds], [self convertPoint:[anEvent locationInWindow] fromView:nil])){alert([_target description] + " : " + _action);
[self sendAction:_action to:_target];}
if (_sendActionOn & CPLeftMouseUpMask && CPRectContainsPoint([self bounds], [self convertPoint:[anEvent locationInWindow] fromView:nil]))
[self sendAction:_action to:_target];

[super mouseUp:anEvent];
}
Expand Down

0 comments on commit 08d0dfd

Please sign in to comment.