Permalink
Browse files

do not rehighlight page twice

  • Loading branch information...
1 parent 3abe0f8 commit ea9fbf2d2923f641fd1642a6573b26e731a254de Austin Seipp committed Jun 13, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/admin.opa
View
@@ -76,8 +76,7 @@ Admin = {{
@private @publish update_preview() =
do Dom.transform([#preview_output <- Post.to_xhtml(post_from_dom())])
- do MathJax.reload(#preview_output)
- SHJS.highlight()
+ MathJax.reload(#preview_output)
@private save_post() =
do Post.insert_new_post(post_from_dom())

0 comments on commit ea9fbf2

Please sign in to comment.