fix error
This commit is contained in:
parent
5c28ed45f2
commit
7ce54a0f99
@ -69,9 +69,10 @@ ImageLoader =
|
||||
|
||||
next: ->
|
||||
return if ImageLoader.busy
|
||||
if [el, URL] = ImageLoader.queue.shift()
|
||||
if item = ImageLoader.queue.shift()
|
||||
[el, url] = item
|
||||
$.on el, 'load loadeddata error', ImageLoader.loadend
|
||||
el.src = URL
|
||||
el.src = url
|
||||
ImageLoader.busy = true
|
||||
|
||||
replace: (post, el) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user