diff options
author | Valerio Virgillito | 2012-02-07 14:53:46 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-07 14:53:46 -0800 |
commit | 65145cebdf4cde2767cbd0489ddcea5863c2ca9e (patch) | |
tree | 42b58f622a4c674d7494ef7aea7a520f08fec1a2 /js | |
parent | 668510892537eaaeb2e11520831d87b44b2489b7 (diff) | |
download | ninja-65145cebdf4cde2767cbd0489ddcea5863c2ca9e.tar.gz |
IKNINJA-964 - Fixed inconsistent element name in PI/CSS panel.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/tools/TagTool.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tools/TagTool.js b/js/tools/TagTool.js index c527edf3..73a0ae5c 100644 --- a/js/tools/TagTool.js +++ b/js/tools/TagTool.js | |||
@@ -158,15 +158,15 @@ exports.TagTool = Montage.create(DrawingTool, { | |||
158 | selectedTag = this.options.selectedElement; | 158 | selectedTag = this.options.selectedElement; |
159 | 159 | ||
160 | if(selectedTag === "divTool") { | 160 | if(selectedTag === "divTool") { |
161 | newTag = NJUtils.makeNJElement("div", "Div", "block"); | 161 | newTag = NJUtils.makeNJElement("div", "div", "block"); |
162 | } else if(selectedTag === "imageTool") { | 162 | } else if(selectedTag === "imageTool") { |
163 | newTag = NJUtils.makeNJElement("image", "Image", "image"); | 163 | newTag = NJUtils.makeNJElement("image", "image", "image"); |
164 | } else if(selectedTag === "videoTool") { | 164 | } else if(selectedTag === "videoTool") { |
165 | newTag = NJUtils.makeNJElement("video", "Video", "video", { | 165 | newTag = NJUtils.makeNJElement("video", "video", "video", { |
166 | innerHTML: "Your browser does not support the VIDEO element." | 166 | innerHTML: "Your browser does not support the VIDEO element." |
167 | }); | 167 | }); |
168 | } else if(selectedTag === "canvasTool") { | 168 | } else if(selectedTag === "canvasTool") { |
169 | newTag = NJUtils.makeNJElement("canvas", "Canvas", "canvas"); | 169 | newTag = NJUtils.makeNJElement("canvas", "canvas", "canvas"); |
170 | } else if(selectedTag === "customTool") { | 170 | } else if(selectedTag === "customTool") { |
171 | newTag = document.createElement(this.options.customName.value); | 171 | newTag = document.createElement(this.options.customName.value); |
172 | newTag.Ninja = {}; | 172 | newTag.Ninja = {}; |