diff options
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 | ||