Minor clean-up

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2813 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Brett Zamir
2014-04-09 03:44:19 +00:00
parent 04d522b43b
commit d84a4465d2
9 changed files with 17 additions and 18 deletions

View File

@@ -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) {