Merge pull request #91 from amire80/master

Use the supplied position values instead of hardcoded
This commit is contained in:
Siebrand Mazeland
2013-04-26 07:40:35 -07:00

View File

@@ -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' );