From 6c41c92bb14a9bc80bfb7b638be61cd61c6ddf6a Mon Sep 17 00:00:00 2001 From: James Seppi Date: Mon, 27 Oct 2014 12:04:19 -0500 Subject: [PATCH] put back removed ng-href into dropdown menu --- angular-dropdowns.js | 3 ++- dist/angular-dropdowns.js | 3 ++- dist/angular-dropdowns.min.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/angular-dropdowns.js b/angular-dropdowns.js index 35f6f81..c3a1dae 100644 --- a/angular-dropdowns.js +++ b/angular-dropdowns.js @@ -105,7 +105,7 @@ dd.directive('dropdownMenu', ['$parse', '$compile', 'DropdownService', '$window' $scope.labelField = $attrs.dropdownItemLabel || 'text'; // Does not register touchstart events outside of directive scope. - var $clickEvent = ('click'||'touchstart'in $window); + var $clickEvent = ('click'||'touchstart' in $window); var $template = angular.element([ '