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([ '