Compact links: Set href for langugage links in ULS panel

Based on jquery.uls upstream version 982e2c32e7b3
https://github.com/wikimedia/jquery.uls/commit/982e2c32e7b3

Bug: 64797
Change-Id: Ia8b2ad22913693d2f88693091d288ca74d7d8c87
This commit is contained in:
eranroz
2014-08-25 23:59:33 +03:00
committed by Santhosh Thottingal
parent 2eecd4de00
commit 7865a65bb0
3 changed files with 13 additions and 4 deletions

View File

@@ -132,6 +132,10 @@
}
this.$menu.css( 'left', this.left );
},
languageDecorator: function ( $languageLink, language ) {
// set href according to language
$languageLink.prop( 'href', compactLinks.interlanguageList[ language ].href );
},
// Use compact version of ULS
compact: true,
// Top position of the language selector. Top it 250px above to take care of