Skip to content

Commit

Permalink
fix(backButton): remove $event
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Apr 22, 2015
1 parent e8ecfe9 commit 82dca6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/directive/navBackButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ IonicModule
}

if (!tAttrs.ngClick) {
buttonEle.setAttribute('ng-click', '$ionicGoBack($event)');
buttonEle.setAttribute('ng-click', '$ionicGoBack()');
}

buttonEle.className = 'button back-button hide buttons ' + (tElement.attr('class') || '');
Expand Down

0 comments on commit 82dca6a

Please sign in to comment.