don't run jsMath parsing until post is inserted into the document
This commit is contained in:
parent
e8d8e639dd
commit
08ee499d57
@ -42,7 +42,8 @@ Fourchan =
|
|||||||
return
|
return
|
||||||
math: ->
|
math: ->
|
||||||
return if (@isClone and doc.contains @origin.nodes.root) or !$ '.math', @nodes.comment
|
return if (@isClone and doc.contains @origin.nodes.root) or !$ '.math', @nodes.comment
|
||||||
$.event 'jsmath', @nodes.post, window
|
$.asap (=> doc.contains @nodes.post), =>
|
||||||
|
$.event 'jsmath', @nodes.post, window
|
||||||
parseThread: (threadID, offset, limit) ->
|
parseThread: (threadID, offset, limit) ->
|
||||||
# Fix /sci/
|
# Fix /sci/
|
||||||
# Fix /g/
|
# Fix /g/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user