r101650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101649‎ | r101650 | r101651 >
Date:18:24, 2 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Adjusted threshold for leftBias to anything past the left side
Modified paths:
  • /trunk/parsers/wikidom/lib/hype/views/es.SurfaceView.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/hype/views/es.SurfaceView.js
@@ -84,7 +84,7 @@
8585 var position = es.Position.newFromEventPagePosition( e ),
8686 offset = this.documentView.getOffsetFromEvent( e ),
8787 nodeView = this.documentView.getNodeFromOffset( offset, false );
88 - this.showCursor( offset, position.left > nodeView.$.offset().left + nodeView.$.width() / 2 );
 88+ this.showCursor( offset, position.left > nodeView.$.offset().left );
8989 if ( !this.$input.is( ':focus' ) ) {
9090 this.$input.focus().select();
9191 }

Status & tagging log