diff options
author | hwc487 | 2012-05-02 17:00:12 -0700 |
---|---|---|
committer | hwc487 | 2012-05-02 17:00:12 -0700 |
commit | 8eac5582b72115969a9f915f4303535c22018033 (patch) | |
tree | b9ad1621fee37eb73824dab7de062ac4ec2abf77 /js/tools | |
parent | f6983a69649b1c274ce6fe2d278a325994d092b6 (diff) | |
download | ninja-8eac5582b72115969a9f915f4303535c22018033.tar.gz |
Material editor
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/TagTool.js | 2 |
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") { |