From f413dc9a1b944fd653c3bc089516c3363fb57857 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Wed, 18 Nov 2015 11:54:42 +0000 Subject: 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 --- js/pomf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/pomf.js') 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) + '%'); }); -- cgit v1.2.3