aboutsummaryrefslogtreecommitdiff
path: root/js/components/hintable.reel/hintable.js
diff options
context:
space:
mode:
authorKris Kowal2012-07-06 11:52:06 -0700
committerKris Kowal2012-07-06 15:01:48 -0700
commit648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch)
tree8f0f55557bd0c47a84e49c1977c950645d284607 /js/components/hintable.reel/hintable.js
parentaedd14b18695d031f695d27dfbd94df5614495bb (diff)
downloadninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz
Expand tabs
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();