r97752 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97751‎ | r97752 | r97753 >
Date:18:49, 21 September 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed some typos left over from merging in controller code
Modified paths:
  • /trunk/parsers/wikidom/lib/synth/views/es.SurfaceView.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/synth/views/es.SurfaceView.js
@@ -43,7 +43,7 @@
4444 // Resize
4545 var surfaceView = this;
4646 $(window).resize( function() {
47 - var width = surface.$.width();
 47+ var width = surfaceView.$.width();
4848 if ( surfaceView.width !== width ) {
4949 surfaceView.width = width;
5050 surfaceView.documentView.renderContent();
@@ -51,7 +51,7 @@
5252 } );
5353
5454 // MouseDown on surface
55 - this.view.$.bind( {
 55+ this.$.bind( {
5656 'mousedown' : function(e) {
5757 return surfaceView.onMouseDown( e );
5858 }
@@ -60,7 +60,7 @@
6161 // Hidden input
6262 var $document = $(document);
6363 this.$input = $( '<input class="editSurface-input" />' )
64 - .prependTo( this.view.$ )
 64+ .prependTo( this.$ )
6565 .bind( {
6666 'focus' : function() {
6767 $(document).bind({

Status & tagging log