diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 20:57:51 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 21:09:41 +0200 |
| commit | a17c4461869fc93e48c00cbb12dc588aa9b25f89 (patch) | |
| tree | 66bc9e17578e77d8e8f6fc4177beeed2636340c2 /js/pomf.js | |
| parent | 2c7ced1f503299e6ede6d3ef2b5e115318f5401f (diff) | |
Add missing newlines after blocks
Fixes JSCS requirePaddingNewLinesAfterBlocks warnings using Airbnb
preset.
Diffstat (limited to 'js/pomf.js')
| -rw-r--r-- | js/pomf.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -131,6 +131,7 @@ $(function() { eachRow(files, function(row, file, files) { $('.progress-inner', row).width((file.percentUploaded * 100) + '%'); }); + $('.progress-inner', totalRow).width((files.percentUploaded * 100) + '%'); }); @@ -148,6 +149,7 @@ $(function() { totalName.text(UPLOAD_ERR_FAILED); break; } + eachRow(res.files, function(row, file, files) { var link = $('<a>'); @@ -157,6 +159,7 @@ $(function() { $('.file-url', row).append(link); }); + uploadFiles.addClass('completed'); totalName.text('Done!'); break; @@ -168,7 +171,9 @@ $(function() { uploadFiles.addClass('error completed'); totalName.text(UPLOAD_ERR_FAILED); } + }); + up.upload(); }); }); |
