new Image -> new Image()
This commit is contained in:
parent
8ff6a99b39
commit
c2e77fdd84
@ -241,7 +241,6 @@ module.exports = (grunt) ->
|
||||
'-W018': true
|
||||
'-W053': true
|
||||
'-W084': true
|
||||
'-W058': true
|
||||
'-W083': true
|
||||
'-W093': true
|
||||
globals:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user