From d1f3aa78b803495fb635f6c58d834e744664fb72 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Mon, 15 Jul 2013 11:47:10 +0200 Subject: [PATCH] instanceof Event works fine now in GM --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index d73178dd8..87040aba6 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -389,7 +389,7 @@ QR = openFileInput: -> QR.nodes.fileInput.click() fileInput: (files) -> - if @ instanceof Element #or files instanceof Event # file input + if files instanceof Event # file input files = [@files...] QR.nodes.fileInput.value = null # Don't hold the files from being modified on windows {length} = files