r104496 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r104495
|
r104496
|
r104497
>
Date:
21:58, 28 November 2011
Author:
inez
Status:
deferred
Tags:
Comment:
Put cursor directly in body element. This way it still can be positioned absolutly but without risk that some other element using position other than "static" (like #bodyContent) will change positioning context.
Modified paths:
/trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js
—
—
@@ -25,7 +25,7 @@
26
26
this.$input = $( '<textarea class="es-surfaceView-textarea" />' )
27
27
.prependTo( this.$ );
28
28
this.$cursor = $( '<div class="es-surfaceView-cursor"></div>' )
29
- .appendTo( this.$ );
29
+ .appendTo( 'body' );
30
30
this.updateSelectionTimeout = undefined;
31
31
this.emitUpdateTimeoue = undefined;
32
32
Status & tagging log
00:04, 29 November 2011
Johnduhart
(
talk
|
contribs
)
changed the
status
of r104496
[
removed:
new
added:
deferred]