From c2e77fdd84a443418248fb8afc0df30b734dda4c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 15 Feb 2015 19:57:03 -0800 Subject: [PATCH] new Image -> new Image() --- Gruntfile.coffee | 1 - src/Posting/Captcha.noscript.coffee | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 4775ce724..db3eb3f85 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -241,7 +241,6 @@ module.exports = (grunt) -> '-W018': true '-W053': true '-W084': true - '-W058': true '-W083': true '-W093': true globals: diff --git a/src/Posting/Captcha.noscript.coffee b/src/Posting/Captcha.noscript.coffee index f06cf4530..622ec82d9 100644 --- a/src/Posting/Captcha.noscript.coffee +++ b/src/Posting/Captcha.noscript.coffee @@ -189,7 +189,7 @@ Captcha.noscript = @occupied = true @timeout = Date.now() + @lifetime unless img - img = @nodes.img = new Image + img = @nodes.img = new Image() $.one img, 'load', @afterSetup.bind @ $.on img, 'load', -> @hidden = false $.add container, img