summaryrefslogtreecommitdiff
path: root/js/pomf.js
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-11-18 12:54:42 +0100
committerJuuso Lapinlampi <wub@partyvan.eu>2015-11-18 12:54:42 +0100
commitf413dc9a1b944fd653c3bc089516c3363fb57857 (patch)
treeded5b34a866b3acacd09108ee76a192b0d503df5 /js/pomf.js
parent251b4d789d13e39436937e98500c5c5e2ab4d427 (diff)
Remove unused JavaScript variables (no-unused-vars)
Quoting ESLint: > Variables that are declared and not used anywhere in the code are most > likely an error due to incomplete refactoring. Such variables take up > space in the code and can lead to confusion by readers. This commit removes them. Fixes ESLint no-unused-vars errors using airbnb/legacy config. Suggested-by: marc <mharnos@gmail.com>
Diffstat (limited to 'js/pomf.js')
-rw-r--r--js/pomf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/pomf.js b/js/pomf.js
index a8cd248..f1b23f3 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -125,7 +125,7 @@ $(function() {
}
up.on('uploadprogress', function(evt, files) {
- eachRow(files, function(row, file, files) {
+ eachRow(files, function(row, file) {
$('.progress-inner', row).width((file.percentUploaded * 100) + '%');
});