Position the language settings
* Expose two options: left and top * Make the init script pass that. * Introduce position method in jquery.uls Change-Id: I21f4d956f1ed2c56528731ab09ecc6a89834f796
This commit is contained in:
committed by
Amir E. Aharoni
parent
841bdfcfe5
commit
398f9ef949
@@ -59,7 +59,11 @@
|
||||
var $displaySettings = displaySettings();
|
||||
var that = this;
|
||||
this.$menu.find( "div#settings-block" ).append( $displaySettings );
|
||||
$displaySettings.languagesettings();
|
||||
var position = this.position();
|
||||
$displaySettings.languagesettings( {
|
||||
top: position.top,
|
||||
left: position.left
|
||||
} );
|
||||
$displaySettings.on( 'click', function() {
|
||||
that.hide();
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user