summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/cheesesteak.js2
-rw-r--r--js/pomf.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/cheesesteak.js b/js/cheesesteak.js
index ba65e48..905c5f3 100644
--- a/js/cheesesteak.js
+++ b/js/cheesesteak.js
@@ -160,7 +160,7 @@
xhr.open(opts.method, this.url, true);
- function initProgressBar(evt) {
+ function initProgressBar() {
for (i = 0; i < len; i++) {
files[i].uploadedSize = 0;
}
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) + '%');
});