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

Commit 84a1779

Browse files
authored
Merge pull request #2011 from talitagoulart/master
fix(uiSelectCtrl): open dropdown when clicking on caret
2 parents d62cac2 + 8c65232 commit 84a1779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uiSelectController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,11 @@ uis.controller('uiSelectCtrl',
465465
ctrl.toggle = function(e) {
466466
if (ctrl.open) {
467467
ctrl.close();
468-
e.preventDefault();
469-
e.stopPropagation();
470468
} else {
471469
ctrl.activate();
472470
}
471+
e.preventDefault();
472+
e.stopPropagation();
473473
};
474474

475475
// Set default function for locked choices - avoids unnecessary

0 commit comments

Comments
 (0)