Minor clean-up
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2813 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -115,14 +115,14 @@ svgEditor.addExtension("mathjax", function() {'use strict';
|
||||
}
|
||||
|
||||
return {
|
||||
name: "MatJax",
|
||||
name: "MathJax",
|
||||
svgicons: svgEditor.curConfig.extPath + "mathjax-icons.xml",
|
||||
buttons: [{
|
||||
id: "tool_mathjax",
|
||||
type: "mode",
|
||||
title: "Add Mathematics",
|
||||
events: {
|
||||
'click': function() {
|
||||
click: function() {
|
||||
// Only load Mathjax when needed, we don't want to strain Svg-Edit any more.
|
||||
// From this point on it is very probable that it will be needed, so load it.
|
||||
if (mathjaxLoaded === false) {
|
||||
|
||||
Reference in New Issue
Block a user