diff options
author | Nivesh Rajbhandari | 2012-06-12 16:30:43 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-12 16:30:43 -0700 |
commit | 58b07496e616fe1c05c7f8e47ba97a7368b0ea88 (patch) | |
tree | b93d818e949abb469882f8271de65cfe5f19afb4 /js/models | |
parent | 6854a72504f57903bd5de003e377f2aefb02d0da (diff) | |
download | ninja-58b07496e616fe1c05c7f8e47ba97a7368b0ea88.tar.gz |
IKNINJA-1675 - Cannot resize SVG using free transform tool.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/models')
-rwxr-xr-x | js/models/element-model.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/models/element-model.js b/js/models/element-model.js index 76f15b21..e5a0f33a 100755 --- a/js/models/element-model.js +++ b/js/models/element-model.js | |||
@@ -91,6 +91,8 @@ var elementNameToController = function(name) { | |||
91 | return "block"; | 91 | return "block"; |
92 | } else if(name === "img") { | 92 | } else if(name === "img") { |
93 | return "image"; | 93 | return "image"; |
94 | } else if(name === "embed") { | ||
95 | return "image"; | ||
94 | } else { | 96 | } else { |
95 | return name; | 97 | return name; |
96 | } | 98 | } |
@@ -174,6 +176,8 @@ var elmo = exports.ElementModel = Montage.create(Montage, { | |||
174 | return "block"; | 176 | return "block"; |
175 | } else if(name === "img") { | 177 | } else if(name === "img") { |
176 | return "image"; | 178 | return "image"; |
179 | } else if(name === "embed") { | ||
180 | return "image"; | ||
177 | } else { | 181 | } else { |
178 | return name; | 182 | return name; |
179 | } | 183 | } |