https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112334
Revision: 112334
Author: rmoen
Date: 2012-02-24 17:41:22 +0000 (Fri, 24 Feb 2012)
Log Message:
-----------
fix typo which prevented readInterval from stopping onBlur
Modified Paths:
--------------
trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
Modified: trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
===================================================================
--- trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
2012-02-24 17:39:42 UTC (rev 112333)
+++ trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
2012-02-24 17:41:22 UTC (rev 112334)
@@ -501,7 +501,7 @@
ve.es.Surface.prototype.onBlur = function( e ) {
//stop polling
if ( this.keyboard.readInterval ) {
- clearInterval( this.readInterval );
+ clearInterval( this.keyboard.readInterval );
}
};
@@ -695,7 +695,7 @@
// Ignore chrome 229 IME event.
if (e.which !== 229) {
// Chunked insert
- this.handleInsert( this.keyboard.chunkSize );
//three character chunk
+ this.handleInsert( this.keyboard.chunkSize );
}
break;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs