new Image -> new Image()
This commit is contained in:
parent
8ff6a99b39
commit
c2e77fdd84
@ -241,7 +241,6 @@ module.exports = (grunt) ->
|
|||||||
'-W018': true
|
'-W018': true
|
||||||
'-W053': true
|
'-W053': true
|
||||||
'-W084': true
|
'-W084': true
|
||||||
'-W058': true
|
|
||||||
'-W083': true
|
'-W083': true
|
||||||
'-W093': true
|
'-W093': true
|
||||||
globals:
|
globals:
|
||||||
|
|||||||
@ -189,7 +189,7 @@ Captcha.noscript =
|
|||||||
@occupied = true
|
@occupied = true
|
||||||
@timeout = Date.now() + @lifetime
|
@timeout = Date.now() + @lifetime
|
||||||
unless img
|
unless img
|
||||||
img = @nodes.img = new Image
|
img = @nodes.img = new Image()
|
||||||
$.one img, 'load', @afterSetup.bind @
|
$.one img, 'load', @afterSetup.bind @
|
||||||
$.on img, 'load', -> @hidden = false
|
$.on img, 'load', -> @hidden = false
|
||||||
$.add container, img
|
$.add container, img
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user