Wrh2 added a comment.
@Jdlrobson I tried the code you provided in my local common.js, as well as
executing on window.load (since the JQuery load event handler can be flaky) but
was still able to reproduce the issue.
This might not be a great workaround, but if I'm understanding the purpose of
the positionBanner() method correctly, the method can exit immediately if both
of the following are zero, correct?
centerX = $wpbBannerImage.data( 'pos-x' ),
centerY = $wpbBannerImage.data( 'pos-y' );
The bug will still be there for banners that use these parameters, but since
those are a tiny subset of all banners it should at least resolve the problem
until a better fix is found.
TASK DETAIL
https://phabricator.wikimedia.org/T111710
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Wrh2
Cc: Sumit, Jdlrobson, Aklapper, Wrh2, Wikidata-bugs, aude, Lydia_Pintscher
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs