diff options
author | Jon Reid | 2012-05-24 16:13:00 -0700 |
---|---|---|
committer | Jon Reid | 2012-05-24 16:13:00 -0700 |
commit | 1f00ec0f35c798556ae1f8b6e0e9eb57f43b5df0 (patch) | |
tree | 190a450a8a03ae3cd06c237b28162a1812c696ca /js | |
parent | fadf2a5f05c9b3e19caa2f18fc6d4d0e1e4fb02f (diff) | |
download | ninja-1f00ec0f35c798556ae1f8b6e0e9eb57f43b5df0.tar.gz |
Timeline: Bug fix: Layer name gets doubled (spreadsheet)
Diffstat (limited to 'js')
-rw-r--r-- | js/components/editable.reel/editable.js | 3 | ||||
-rw-r--r-- | js/components/hintable.reel/hintable.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/js/components/editable.reel/editable.js b/js/components/editable.reel/editable.js index dad93b31..6ccb0445 100644 --- a/js/components/editable.reel/editable.js +++ b/js/components/editable.reel/editable.js | |||
@@ -96,7 +96,8 @@ exports.Editable = Montage.create(Component, { | |||
96 | return this._element.textContent; | 96 | return this._element.textContent; |
97 | }, | 97 | }, |
98 | set: function(str) { | 98 | set: function(str) { |
99 | this._element.textContent = str; | 99 | //this._element.textContent = str; |
100 | this._element.innerText = str; | ||
100 | } | 101 | } |
101 | }, | 102 | }, |
102 | 103 | ||
diff --git a/js/components/hintable.reel/hintable.js b/js/components/hintable.reel/hintable.js index 6e3b2aaf..79549191 100644 --- a/js/components/hintable.reel/hintable.js +++ b/js/components/hintable.reel/hintable.js | |||
@@ -146,7 +146,8 @@ 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 | //node.textContent = str; |
150 | node.innerText = str; | ||
150 | } | 151 | } |
151 | }, | 152 | }, |
152 | 153 | ||