summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/upload.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/upload.js b/misc/upload.js
index b14b2a245..1c28bcfa3 100644
--- a/misc/upload.js
+++ b/misc/upload.js
@@ -9,7 +9,6 @@ if (isJsEnabled()) {
* Attaches the upload behaviour to the upload form.
*/
function uploadAutoAttach() {
- var acdb = [];
var inputs = document.getElementsByTagName('input');
for (i = 0; input = inputs[i]; i++) {
if (input && hasClass(input, 'upload')) {
@@ -27,7 +26,6 @@ function uploadAutoAttach() {
* JS upload object.
*/
function jsUpload(uri, button, wrapper, hide) {
- var upload = this;
this.button = button;
this.wrapper = wrapper;
this.hide = hide;