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.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/components/hintable.reel/hintable.js b/js/components/hintable.reel/hintable.js
index 1e7cc069..bd7a803a 100644
--- a/js/components/hintable.reel/hintable.js
+++ b/js/components/hintable.reel/hintable.js
@@ -172,13 +172,13 @@ exports.Hintable = Montage.create(Editable, {
172 172
173 this._super(arguments); 173 this._super(arguments);
174 174
175 /// Remove the phantom "<BR>" element that is generated when 175 /// Remove the phantom "<BR>" element that is generated when
176 /// content editable element is empty 176 /// content editable element is empty
177 this._children(this._element, function(item) { 177 this._children(this._element, function(item) {
178 return item.nodeName === 'BR'; 178 return item.nodeName === 'BR';
179 }).forEach(function(item) { 179 }).forEach(function(item) {
180 this._element.removeChild(item); 180 this._element.removeChild(item);
181 }, this); 181 }, this);
182 182
183 if(k === 39) { 183 if(k === 39) {
184 selection = window.getSelection(); 184 selection = window.getSelection();