Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -155,7 +155,7 @@ |
156 | 156 | _this.documentView.clearSelection( _this.currentSelection ); |
157 | 157 | } |
158 | 158 | _this.updateSelectionTimeout = undefined; |
159 | | - }, delay || 0 ); |
| 159 | + }, delay ); |
160 | 160 | } else { |
161 | 161 | if ( this.currentSelection.from !== this.currentSelection.to ) { |
162 | 162 | this.hideCursor(); |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | this.emitUpdateTimeout = setTimeout( function() { |
178 | 178 | _this.emit( 'update' ); |
179 | 179 | _this.emitUpdateTimeout = undefined; |
180 | | - }, delay || 0 ); |
| 180 | + }, delay ); |
181 | 181 | } else { |
182 | 182 | this.emit( 'update' ); |
183 | 183 | } |