diff --git a/scp/css/scp.css b/scp/css/scp.css index 725c169b9866d9be8827bbd6872d6a1352dfce17..22b78ce32e9dc69f371ccf65e5d9d745e8324ba8 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -770,7 +770,6 @@ a time { top: 0; border-bottom: 1px solid #bebebe; border-left:1px solid #bebebe; - border-right: 1px solid #aaa; background-color: #eee; } @@ -786,6 +785,7 @@ a time { color:#666; padding:9px; background-color:#eee; + border-right: 1px solid #aaa; } .jb-overflowmenu .jb-overflowmenu-container > a.jb-overflowmenu-menu-secondary-handle:hover { color:#000; diff --git a/scp/js/jb.overflow.menu.js b/scp/js/jb.overflow.menu.js index bfa365833039dc01325668be776df10d5f496321..17340736404291ea7e106a0fc02d79ba31ca4951 100755 --- a/scp/js/jb.overflow.menu.js +++ b/scp/js/jb.overflow.menu.js @@ -156,6 +156,7 @@ $.widget( "jb.overflowmenu", { if( this.secondaryMenu.find( this.options.items ).length == 0){ return; } + this.primaryMenu.css( 'right', this.primaryMenu.data( 'right' ) ) this.secondaryMenu.show(); this._trigger( 'open', {}, this._uiHash() ); return this; @@ -207,7 +208,7 @@ $.widget( "jb.overflowmenu", { var width = this.secondaryMenuContainer.find('.jb-overflowmenu-menu-secondary-handle') .html( value ) .outerWidth(); - this.primaryMenu.css( 'right', width ) + this.primaryMenu.data( 'right', width ) }