jenkins-bot has submitted this change and it was merged. Change subject: Replace #p-lang-list with #p-lang .body ul ......................................................................
Replace #p-lang-list with #p-lang .body ul The #p-lang-list id was removed from core (I028880cfa), and this broke the compact links beta feature. This commit replaces it with a different selector. Change-Id: I154919a54b032dd481fe080204a2a16819d85140 (cherry picked from commit 50f6bdce298587b9cc9735d43fed0b759b814bfd) --- M resources/css/ext.uls.compactlinks.css M resources/js/ext.uls.compactlinks.js 2 files changed, 3 insertions(+), 3 deletions(-) Approvals: Nikerabbit: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/css/ext.uls.compactlinks.css b/resources/css/ext.uls.compactlinks.css index dc01bf8..281a25d 100644 --- a/resources/css/ext.uls.compactlinks.css +++ b/resources/css/ext.uls.compactlinks.css @@ -6,7 +6,7 @@ margin: 5px 0; } -#p-lang-list .uls-trigger { +#p-lang .body ul .uls-trigger { background-image: none; padding: 0; } @@ -37,4 +37,4 @@ border-right-color: #555555; border-width: 20px; top: 250px; -} \ No newline at end of file +} diff --git a/resources/js/ext.uls.compactlinks.js b/resources/js/ext.uls.compactlinks.js index 104a5d6..2f276fd 100644 --- a/resources/js/ext.uls.compactlinks.js +++ b/resources/js/ext.uls.compactlinks.js @@ -317,6 +317,6 @@ }; $( document ).ready( function () { - $( '#p-lang-list' ).compactInterlanguageList(); + $( '#p-lang .body ul' ).compactInterlanguageList(); } ); }( jQuery, mediaWiki ) ); -- To view, visit https://gerrit.wikimedia.org/r/135535 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I154919a54b032dd481fe080204a2a16819d85140 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: wmf/1.24wmf5 Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits