Merge pull request #91 from amire80/master
Use the supplied position values instead of hardcoded
This commit is contained in:
@@ -160,11 +160,7 @@
|
|||||||
* Show the ULS window
|
* Show the ULS window
|
||||||
*/
|
*/
|
||||||
show: function () {
|
show: function () {
|
||||||
var pos = this.position();
|
this.$menu.css( this.position() );
|
||||||
this.$menu.css( {
|
|
||||||
top: pos.top,
|
|
||||||
left: '25%'
|
|
||||||
} );
|
|
||||||
|
|
||||||
if ( this.options.compact ) {
|
if ( this.options.compact ) {
|
||||||
this.$menu.addClass( 'uls-compact' );
|
this.$menu.addClass( 'uls-compact' );
|
||||||
|
|||||||
Reference in New Issue
Block a user