From 0cf0fad50ef1b903c5297eb399d71eb2db4bd3d5 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Sun, 2 Sep 2012 15:27:32 -0600 Subject: [PATCH] Finish removing MathJax from Live Preview. --- lib/gollum/frontend/public/gollum/livepreview/index.html | 6 ------ .../frontend/public/gollum/livepreview/js/livepreview.js | 2 -- 2 files changed, 8 deletions(-) diff --git a/lib/gollum/frontend/public/gollum/livepreview/index.html b/lib/gollum/frontend/public/gollum/livepreview/index.html index 3f29164e..301d8943 100644 --- a/lib/gollum/frontend/public/gollum/livepreview/index.html +++ b/lib/gollum/frontend/public/gollum/livepreview/index.html @@ -39,11 +39,5 @@ var require = { - diff --git a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js index 67bea80a..8aefeb51 100644 --- a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js +++ b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js @@ -269,8 +269,6 @@ var makePreviewHtml = function () { // Update the text using feature detection to support IE. // preview.innerHTML = text; // this doesn't work on IE. previewSet( text ); - // MathJax is loaded asynchronously. - if (typeof MathJax != 'undefined') { MathJax.Hub.Typeset( content ); } // highlight code blocks. var codeElements = preview.getElementsByTagName( 'pre' );