Remove other mathjax support
This commit is contained in:
@@ -658,8 +658,3 @@ ul.actions {
|
|||||||
background-position: -431px -28px;
|
background-position: -431px -28px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#MathJax_Message {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -374,17 +374,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* EditorHas.mathJax
|
|
||||||
* True if the editor has MathJax enabled and running, false otherwise.
|
|
||||||
*
|
|
||||||
* @return boolean
|
|
||||||
*/
|
|
||||||
mathJax: function() {
|
|
||||||
return (typeof window.MathJax == 'object');
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EditorHas.previewButton
|
* EditorHas.previewButton
|
||||||
* True if the editor has a preview button, false otherwise.
|
* True if the editor has a preview button, false otherwise.
|
||||||
@@ -842,11 +831,6 @@
|
|||||||
}
|
}
|
||||||
var helpData = Help._HELP[name];
|
var helpData = Help._HELP[name];
|
||||||
|
|
||||||
if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) {
|
|
||||||
debug('Adding MathJax support to help');
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
// clear this shiz out
|
// clear this shiz out
|
||||||
$('#gollum-editor-help-parent').html('');
|
$('#gollum-editor-help-parent').html('');
|
||||||
$('#gollum-editor-help-list').html('');
|
$('#gollum-editor-help-list').html('');
|
||||||
|
|||||||
Reference in New Issue
Block a user