Skip to content

Commit d5903f6

Browse files
committed
Upgrade to release v2.4.0 - Code cleanup
1 parent 9e14751 commit d5903f6

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

js/fileinput.js

-16
Original file line numberDiff line numberDiff line change
@@ -675,22 +675,6 @@
675675
}
676676
}
677677

678-
$.fn.fileinput = function (options) {
679-
if (!hasFileAPISupport()) {
680-
return;
681-
}
682-
683-
return this.each(function () {
684-
var $this = $(this), data = $this.data('fileinput')
685-
if (!data) {
686-
$this.data('fileinput', (data = new FileInput(this, options)))
687-
}
688-
if (typeof options == 'string') {
689-
data[options]()
690-
}
691-
})
692-
};
693-
694678
//FileInput plugin definition
695679
$.fn.fileinput = function (option) {
696680
if (!hasFileAPISupport()) {

0 commit comments

Comments
 (0)