From f6023ec051564c7397dcb1eb9a32d3156ebad039 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Wed, 4 Jan 2017 14:24:02 +0100 Subject: [PATCH] Use an empty array instead of the uls-p-lang-dummy list item (JS) This change is the JavaScript part of change I54a18f5bd85a8261a25e1160dda7a33fbdf3dd7b. This change should get deployed when the HTML caches of change I54a18f5bd85a8261a25e1160dda7a33fbdf3dd7b has expired. Change-Id: Id7f429d9d1217316341102e27389711525f17b2d --- resources/js/ext.uls.interface.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/js/ext.uls.interface.js b/resources/js/ext.uls.interface.js index 910ac10e..8873b59c 100644 --- a/resources/js/ext.uls.interface.js +++ b/resources/js/ext.uls.interface.js @@ -319,8 +319,6 @@ $pLang.prepend( $ulsTrigger ); // Take care of any other elements with this class. $ulsTrigger = $( '.uls-settings-trigger' ); - // Remove the dummy link, which was added to make sure that the section appears - $pLang.find( '.uls-p-lang-dummy' ).remove(); if ( !$pLang.find( 'div ul' ).children().length ) { // Replace the title of the interlanguage links area