Skip to content

Commit a0cdb22

Browse files
reset candidateHashtag when a suggestion is clicked
1 parent 8871419 commit a0cdb22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/directives/tagbox/dirTagbox.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ angular.module('angularUtils')
4646
var selectedTag = e.target.innerHTML.substring(TOKEN.length);
4747
insertSelectedTag(selectedTag);
4848
input[0].focus();
49-
suggestions.addClass('ng-hide');
49+
scope.$apply(function() {
50+
scope.candidateHashtag = "?";
51+
});
5052
});
5153

5254
suggestions.on('mouseover', function() {

0 commit comments

Comments
 (0)