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

fix for issue #6174 #6175

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix for issue #6174
Joshua Gdovin committed Aug 18, 2016
commit 1556e82f8d9a1a7f38f30dbb6c035a4cebdc1f48
3 changes: 2 additions & 1 deletion src/typeahead/typeahead.js
Original file line number Diff line number Diff line change
@@ -470,7 +470,8 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.debounce', 'ui.bootstrap
// Issue #3973
// Firefox treats right click as a click on document
if (element[0] !== evt.target && evt.which !== 3 && scope.matches.length !== 0) {
resetMatches();
isNoResultsSetter(originalScope, false);
resetMatches();
if (!$rootScope.$$phase) {
originalScope.$digest();
}