From 64cc7969a7f07044417e84a702b8f4232fb189c5 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Fri, 26 Apr 2013 16:11:12 +0300 Subject: [PATCH] Use the supplied position values instead of hardcoded --- src/jquery.uls.core.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 7490682..157392a 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -160,11 +160,7 @@ * Show the ULS window */ show: function () { - var pos = this.position(); - this.$menu.css( { - top: pos.top, - left: '25%' - } ); + this.$menu.css( this.position() ); if ( this.options.compact ) { this.$menu.addClass( 'uls-compact' );