mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 12:10:45 +02:00
Minor update in InputfieldImage JS to make jQuery migrator happy
This commit is contained in:
@@ -1981,7 +1981,7 @@ function InputfieldImage($) {
|
||||
function updateProgress(evt) {
|
||||
if(typeof evt != "undefined") {
|
||||
if(!evt.lengthComputable) return;
|
||||
$progressBar.attr("value", parseInt((evt.loaded / evt.total) * 100));
|
||||
$progressBar.val(parseInt((evt.loaded / evt.total) * 100));
|
||||
}
|
||||
$('body').addClass('pw-uploading');
|
||||
$spinner.css('display', 'block');
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user