Don't need to reprettyprint inside of threads.
This commit is contained in:
parent
bddb032dac
commit
aeea95564c
@ -35,7 +35,7 @@ Fourchan =
|
||||
return if @isClone
|
||||
apply = (e) -> pre.innerHTML = e.detail
|
||||
$.on window, 'prettyprint:cb', apply
|
||||
for pre in $$ '.prettyprint', @nodes.comment
|
||||
for pre in $$ '.prettyprint:not(.prettyprinted)', @nodes.comment
|
||||
$.event 'prettyprint', pre.innerHTML, window
|
||||
$.off window, 'prettyprint:cb', apply
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user