mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added autocompletion
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
var App = App || {};
|
||||
App.Controls = App.Controls || {};
|
||||
|
||||
App.Controls.FileDropper = function(
|
||||
$fileInput,
|
||||
_,
|
||||
jQuery) {
|
||||
App.Controls.FileDropper = function($fileInput) {
|
||||
var _ = App.DI.get('_');
|
||||
var jQuery = App.DI.get('jQuery');
|
||||
|
||||
var options = {
|
||||
onChange: null,
|
||||
@ -63,7 +62,4 @@ App.Controls.FileDropper = function(
|
||||
});
|
||||
|
||||
return options;
|
||||
|
||||
};
|
||||
|
||||
App.DI.register('fileDropper', App.Controls.FileDropper);
|
||||
|
Reference in New Issue
Block a user