diff options
author | Mario <mario@mariovavti.com> | 2020-05-07 21:48:26 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-07 21:48:26 +0000 |
commit | f132436af3c90cff8dcef852bd836546311036f3 (patch) | |
tree | 89531366ba5fc62095981a81a91a2fc52adcad9c /vendor/blueimp/jquery-file-upload/js/demo.js | |
parent | fae70bf0a7f1b566d25e30064f60d58ab150951a (diff) | |
download | volse-hubzilla-f132436af3c90cff8dcef852bd836546311036f3.tar.gz volse-hubzilla-f132436af3c90cff8dcef852bd836546311036f3.tar.bz2 volse-hubzilla-f132436af3c90cff8dcef852bd836546311036f3.zip |
composer updates 2
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/js/demo.js')
-rw-r--r-- | vendor/blueimp/jquery-file-upload/js/demo.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/blueimp/jquery-file-upload/js/demo.js b/vendor/blueimp/jquery-file-upload/js/demo.js index bb4eccd6e..0735031b8 100644 --- a/vendor/blueimp/jquery-file-upload/js/demo.js +++ b/vendor/blueimp/jquery-file-upload/js/demo.js @@ -11,7 +11,7 @@ /* global $ */ -$(function() { +$(function () { 'use strict'; // Initialize the jQuery File Upload widget: @@ -46,8 +46,8 @@ $(function() { $.ajax({ url: '//jquery-file-upload.appspot.com/', type: 'HEAD' - }).fail(function() { - $('<div class="alert alert-danger"/>') + }).fail(function () { + $('<div class="alert alert-danger"></div>') .text('Upload server currently unavailable - ' + new Date()) .appendTo('#fileupload'); }); @@ -62,10 +62,10 @@ $(function() { dataType: 'json', context: $('#fileupload')[0] }) - .always(function() { + .always(function () { $(this).removeClass('fileupload-processing'); }) - .done(function(result) { + .done(function (result) { $(this) .fileupload('option', 'done') // eslint-disable-next-line new-cap |