aboutsummaryrefslogtreecommitdiff
path: root/js/components/hintable.reel
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-21 14:33:01 -0700
committerArmen Kesablyan2012-06-21 14:33:01 -0700
commit9fe9bc495af74d963fa7061d4d1a479720133a56 (patch)
treeeca4b0d785ad28483904682b7fdfdb9686fc3d1a /js/components/hintable.reel
parentfc818d31de267d2b77fda3b3029ad38d48698be8 (diff)
parentc411f76d89c543837548085ff468fee0fb4f2ff9 (diff)
downloadninja-9fe9bc495af74d963fa7061d4d1a479720133a56.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'js/components/hintable.reel')
-rw-r--r--js/components/hintable.reel/hintable.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/components/hintable.reel/hintable.js b/js/components/hintable.reel/hintable.js
index 803770db..08e87bf0 100644
--- a/js/components/hintable.reel/hintable.js
+++ b/js/components/hintable.reel/hintable.js
@@ -146,7 +146,11 @@ exports.Hintable = Montage.create(Editable, {
146 }, 146 },
147 set: function(str) { 147 set: function(str) {
148 var node = this._getFirstTextNode(); 148 var node = this._getFirstTextNode();
149 node.textContent = str; 149 if (node.textContent !== str) {
150 node.textContent = str;
151 }
152
153 //node.innerText = str;
150 } 154 }
151 }, 155 },
152 156
@@ -331,4 +335,4 @@ exports.Hintable = Montage.create(Editable, {
331 distinct: true 335 distinct: true
332 } 336 }
333 337
334}); \ No newline at end of file 338});