aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorhwc4872012-05-02 17:00:12 -0700
committerhwc4872012-05-02 17:00:12 -0700
commit8eac5582b72115969a9f915f4303535c22018033 (patch)
treeb9ad1621fee37eb73824dab7de062ac4ec2abf77 /js/tools
parentf6983a69649b1c274ce6fe2d278a325994d092b6 (diff)
downloadninja-8eac5582b72115969a9f915f4303535c22018033.tar.gz
Material editor
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/TagTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/TagTool.js b/js/tools/TagTool.js
index d946db72..807d5139 100755
--- a/js/tools/TagTool.js
+++ b/js/tools/TagTool.js
@@ -157,6 +157,8 @@ exports.TagTool = Montage.create(DrawingTool, {
157 157
158 selectedTag = this.options.selectedElement; 158 selectedTag = this.options.selectedElement;
159 159
160 if (!NJUtils) NJUtils = require("js/lib/NJUtils").NJUtils;
161
160 if(selectedTag === "divTool") { 162 if(selectedTag === "divTool") {
161 newTag = NJUtils.makeNJElement("div", "div", "block"); 163 newTag = NJUtils.makeNJElement("div", "div", "block");
162 } else if(selectedTag === "imageTool") { 164 } else if(selectedTag === "imageTool") {