r112334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112333‎ | r112334 | r112335 >
Date:17:41, 24 February 2012
Author:rmoen
Status:deferred
Tags:
Comment:
fix typo which prevented readInterval from stopping onBlur
Modified paths:
  • /trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
@@ -501,7 +501,7 @@
502502 ve.es.Surface.prototype.onBlur = function( e ) {
503503 //stop polling
504504 if ( this.keyboard.readInterval ) {
505 - clearInterval( this.readInterval );
 505+ clearInterval( this.keyboard.readInterval );
506506 }
507507 };
508508
@@ -695,7 +695,7 @@
696696 // Ignore chrome 229 IME event.
697697 if (e.which !== 229) {
698698 // Chunked insert
699 - this.handleInsert( this.keyboard.chunkSize ); //three character chunk
 699+ this.handleInsert( this.keyboard.chunkSize );
700700 }
701701 break;
702702 }

Status & tagging log