WMDE-Fisch has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315672

Change subject: Fix order when executing pointer update
......................................................................

Fix order when executing pointer update

This should always happen before updating the diff.

Change-Id: Icf6b52c3495e42e188bfa5d5307f91d0558cc7a4
---
M modules/ext.RevisionSlider.SliderView.js
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionSlider 
refs/changes/72/315672/1

diff --git a/modules/ext.RevisionSlider.SliderView.js 
b/modules/ext.RevisionSlider.SliderView.js
index 090ceac..e8315c7 100644
--- a/modules/ext.RevisionSlider.SliderView.js
+++ b/modules/ext.RevisionSlider.SliderView.js
@@ -211,10 +211,10 @@
                                        revId1 = self.getRevElementAtPosition( 
$revisions, self.pointerOlder.getPosition() ).data( 'revid' );
                                        revId2 = self.getRevElementAtPosition( 
$revisions, self.pointerNewer.getPosition() ).data( 'revid' );
 
-                                       self.refreshRevisions( revId1, revId2 );
-
                                        self.updatePointerPositionAttributes();
 
+                                       self.refreshRevisions( revId1, revId2 );
+
                                        $( '.mw-revslider-revision-wrapper' 
).removeClass( 'mw-revslider-pointer-cursor' );
                                },
                                drag: function ( event, ui ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/315672
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf6b52c3495e42e188bfa5d5307f91d0558cc7a4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <christoph.jau...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to