aboutsummaryrefslogtreecommitdiff
path: root/js/components/hintable.reel/hintable.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/hintable.reel/hintable.js')
-rw-r--r--js/components/hintable.reel/hintable.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/js/components/hintable.reel/hintable.js b/js/components/hintable.reel/hintable.js
index d09cdbd2..810f0d65 100644
--- a/js/components/hintable.reel/hintable.js
+++ b/js/components/hintable.reel/hintable.js
@@ -140,6 +140,19 @@ exports.Hintable = Montage.create(Editable, {
140 } 140 }
141 } 141 }
142 }, 142 },
143 value : {
144 get: function() {
145 return this._getFirstTextNode().textContent;
146 },
147 set: function(str) {
148 var node = this._getFirstTextNode();
149 if (node.textContent !== str) {
150 node.textContent = str;
151 }
152
153 //node.innerText = str;
154 }
155 },
143 156
144 handleKeydown : { 157 handleKeydown : {
145 value : function handleKeydown(e) { 158 value : function handleKeydown(e) {
@@ -298,4 +311,4 @@ exports.Hintable = Montage.create(Editable, {
298 distinct: true 311 distinct: true
299 } 312 }
300 313
301}); \ No newline at end of file 314});