Skip to content

Commit

Permalink
oops fix - correct action/target for iOS6 code path
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSwift committed Sep 25, 2013
1 parent 5d751a9 commit 9c781d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMDrawerController/MMDrawerBarButtonItem.m
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ -(id)initWithTarget:(id)target action:(SEL)action{
}
else {
MMDrawerMenuButtonView * buttonView = [[MMDrawerMenuButtonView alloc] initWithFrame:CGRectMake(0, 0, 26, 26)];
[buttonView addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
[buttonView addTarget:self action:@selector(touchUpInside:) forControlEvents:UIControlEventTouchUpInside];
self = [self initWithCustomView:buttonView];
if(self){
[self setButtonView:buttonView];
Expand Down

0 comments on commit 9c781d9

Please # to comment.