Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2011 from talitagoulart/master
Browse files Browse the repository at this point in the history
fix(uiSelectCtrl): open dropdown when clicking on caret
  • Loading branch information
Jefiozie authored Jun 26, 2017
2 parents d62cac2 + 8c65232 commit 84a1779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uiSelectController.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,11 @@ uis.controller('uiSelectCtrl',
ctrl.toggle = function(e) {
if (ctrl.open) {
ctrl.close();
e.preventDefault();
e.stopPropagation();
} else {
ctrl.activate();
}
e.preventDefault();
e.stopPropagation();
};

// Set default function for locked choices - avoids unnecessary
Expand Down

0 comments on commit 84a1779

Please sign in to comment.