Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(select): interimElement will resolve its promise even when
Browse files Browse the repository at this point in the history
transition end event is not fired

Closes #3704
  • Loading branch information
Robert Messerle committed Jul 18, 2015
1 parent 171b7ed commit 41c6951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/interimElement/interimElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ function InterimElementProvider() {
},
remove: function() {
self.cancelTimeout();
return removeDone = $q.when(showDone).then(function() {
return removeDone = $q.when(showDone).finally(function() {
var ret = element ? options.onRemove(options.scope, element, options) : true;

// Trigger onRemoving callback *before* the remove operation starts
Expand Down

0 comments on commit 41c6951

Please sign in to comment.