diff options
author | Jon Reid | 2012-05-24 17:46:47 -0700 |
---|---|---|
committer | Jon Reid | 2012-05-24 17:46:47 -0700 |
commit | 811ce7a7cdec18f304c6660a70012960e61d967a (patch) | |
tree | ce329eb8d190639a8a8e25f5f29cf95faf1b7eba /js/components/hintable.reel | |
parent | 1f00ec0f35c798556ae1f8b6e0e9eb57f43b5df0 (diff) | |
download | ninja-811ce7a7cdec18f304c6660a70012960e61d967a.tar.gz |
Timeline: bug fix "Layer name gets doubled" (Spreadsheet)
Diffstat (limited to 'js/components/hintable.reel')
-rw-r--r-- | js/components/hintable.reel/hintable.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/components/hintable.reel/hintable.js b/js/components/hintable.reel/hintable.js index 79549191..015b3a30 100644 --- a/js/components/hintable.reel/hintable.js +++ b/js/components/hintable.reel/hintable.js | |||
@@ -146,8 +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.innerText = str; | 150 | node.textContent = str; |
151 | } | ||
152 | |||
153 | //node.innerText = str; | ||
151 | } | 154 | } |
152 | }, | 155 | }, |
153 | 156 | ||