diff --git a/bower.json b/bower.json index 19c3ddd..d5a1c9e 100644 --- a/bower.json +++ b/bower.json @@ -1,9 +1,9 @@ { "name": "ngRouteNames", - "version": "1.0.3", + "version": "1.1.0", "main": "./ngRouteNames.js", "dependencies": { "angular": "~1.2.0", - "angular-gesture": "~1.2.0" + "angular-gesture": "~1.3.0" } } diff --git a/directive/goto.js b/directive/goto.js index b5732a5..cc232a1 100644 --- a/directive/goto.js +++ b/directive/goto.js @@ -52,7 +52,7 @@ scope.$on('$routeChangeSuccess', updateLink); // Follow clicks using mobile events where available - $mobile.gestureOn(element, 'tap', attrs).bind('tap', function (event) { + $mobile.gestureOn(element, 'tap', attrs).on('tap', function (event) { scope.$apply(function () { $location.path(url[0]).search(url[1]); // Use the previously processed path });