Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Remove other mathjax support
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Nov 28, 2011
1 parent b311730 commit f4d70d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
9 changes: 2 additions & 7 deletions lib/gollum/frontend/public/css/gollum.css
Original file line number Diff line number Diff line change
Expand Up @@ -648,18 +648,13 @@ ul.actions {
text-indent: -5000px;
width: 28px;
}

.ff #head #searchbar #searchbar-fauxtext #search-submit span,
.ie #head #searchbar #searchbar-fauxtext #search-submit span {
height: 2.2em;
}

#head #searchbar #searchbar-fauxtext #search-submit:hover span {
background-position: -431px -28px;
padding: 0;
}


#MathJax_Message {
display: none;
}
16 changes: 0 additions & 16 deletions lib/gollum/frontend/public/javascript/editor/gollum.editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
* True if the editor has a preview button, false otherwise.
Expand Down Expand Up @@ -842,11 +831,6 @@
}
var helpData = Help._HELP[name];

if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) {
debug('Adding MathJax support to help');
// TODO
}

// clear this shiz out
$('#gollum-editor-help-parent').html('');
$('#gollum-editor-help-list').html('');
Expand Down

0 comments on commit f4d70d3

Please sign in to comment.