Skip to content

Commit

Permalink
Replace .finally() with .then() to work in all browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstevendao committed Oct 20, 2020
1 parent dd6cab2 commit 1052deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/vue-tel-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export default {
this.$emit('onValidate', this.phoneObject); // Deprecated
})
.catch(console.error)
.finally(() => {
.then(() => {
this.finishMounted = true;
});
},
Expand Down Expand Up @@ -375,7 +375,7 @@ export default {
*/
this.choose(fallbackCountry);
})
.finally(() => {
.then(() => {
resolve();
});
} else {
Expand Down

0 comments on commit 1052deb

Please sign in to comment.