From ba75c1732edefab8451d6792308902fd2530e5db Mon Sep 17 00:00:00 2001 From: Pau Rodriguez-Estivill Date: Sat, 16 Jul 2016 02:23:14 +0200 Subject: [PATCH] Fixed issue 179, stack overflow. --- js/fileinput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/fileinput.js b/js/fileinput.js index d351cb30..302d35bd 100644 --- a/js/fileinput.js +++ b/js/fileinput.js @@ -154,7 +154,7 @@ if (this.original.exists) this.$element.addClass('fileinput-exists').removeClass('fileinput-new') else this.$element.addClass('fileinput-new').removeClass('fileinput-exists') - this.$element.trigger('reset.bs.fileinput') + this.$element.trigger('reseted.bs.fileinput') }, Fileinput.prototype.trigger = function(e) {