mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Cast strings to numbers
Change-Id: Iafbb0ed5197cc7e92ebfc2fb9365c1903ce9ffef
This commit is contained in:
parent
908b7c808b
commit
28b436eb16
|
@ -579,8 +579,8 @@
|
|||
this.alignPointersAndLines();
|
||||
this.resetRevisionStylesBasedOnPointerPosition( this.getRevisionsElement() );
|
||||
this.refreshDiffView(
|
||||
$( '.mw-revslider-revision[data-pos="' + newPointerPos + '"]' ).attr( 'data-revid' ),
|
||||
$( '.mw-revslider-revision[data-pos="' + oldPointerPos + '"]' ).attr( 'data-revid' ),
|
||||
+$( '.mw-revslider-revision[data-pos="' + newPointerPos + '"]' ).attr( 'data-revid' ),
|
||||
+$( '.mw-revslider-revision[data-pos="' + oldPointerPos + '"]' ).attr( 'data-revid' ),
|
||||
pushState
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue