From 50f6bdce298587b9cc9735d43fed0b759b814bfd Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Wed, 21 May 2014 14:49:20 +0300 Subject: [PATCH] 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 --- resources/css/ext.uls.compactlinks.css | 4 ++-- resources/js/ext.uls.compactlinks.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/css/ext.uls.compactlinks.css b/resources/css/ext.uls.compactlinks.css index dc01bf85..281a25db 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 104a5d65..2f276fda 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 ) );