diff options
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/TagTool.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/TagTool.js b/js/tools/TagTool.js index 3b1cd063..fac6798f 100755 --- a/js/tools/TagTool.js +++ b/js/tools/TagTool.js | |||
@@ -86,7 +86,6 @@ exports.TagTool = Montage.create(DrawingTool, { | |||
86 | // Create the element | 86 | // Create the element |
87 | if(this.options.selectedElement === "custom") { | 87 | if(this.options.selectedElement === "custom") { |
88 | element = document.application.njUtils.make(this.options.customName.value, null, this.application.ninja.currentDocument); | 88 | element = document.application.njUtils.make(this.options.customName.value, null, this.application.ninja.currentDocument); |
89 | if (!NJUtils) NJUtils = require("js/lib/NJUtils").NJUtils; | ||
90 | 89 | ||
91 | } else { | 90 | } else { |
92 | element = document.application.njUtils.make(this.options.selectedElement, null, this.application.ninja.currentDocument); | 91 | element = document.application.njUtils.make(this.options.selectedElement, null, this.application.ninja.currentDocument); |