Fixed issue 179, stack overflow.

This commit is contained in:
Pau Rodriguez-Estivill
2016-07-16 02:23:14 +02:00
parent e4be342ee6
commit ba75c1732e

View File

@@ -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) {