diff options
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") { |