fix double call on back button

This commit is contained in:
Adam Bradley
2014-01-14 13:00:37 -06:00
parent 64d8fd207a
commit 9efe95ef06
3 changed files with 3 additions and 3 deletions

View File

@@ -2677,7 +2677,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
tElement.addClass('hide');
return function link($scope, $element) {
$element.bind('tap', goBack);
$element.bind('click', goBack);
$scope.showButton = function(val) {
if(val) {

View File

File diff suppressed because one or more lines are too long

View File

@@ -224,7 +224,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
tElement.addClass('hide');
return function link($scope, $element) {
$element.bind('tap', goBack);
$element.bind('click', goBack);
$scope.showButton = function(val) {
if(val) {