From 3c63e580e6f4e31030a234c67af3a27ff14d23db Mon Sep 17 00:00:00 2001
From: OnkelTem <OnkelTem@239962.no-reply.drupal.org>
Date: Fri, 27 Feb 2015 12:25:18 +0300
Subject: [PATCH] Issue #2442577 by OnkelTem: Administration menu (admin_menu)
 shadow blocks Toolbar

---
 toolbar.js |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/toolbar.js b/toolbar.js
index e60c9ed..7210bda 100755
--- a/toolbar.js
+++ b/toolbar.js
@@ -14,6 +14,11 @@ Drupal.behaviors.toolbar = function (context) {
       adminMenuHeight += 9;
     }
     $('div#toolbar-toolbar').css('top', adminMenuHeight + 'px');
+    // Hide admin-menu-shadow
+    $('<style>div#admin-menu-shadow { display: none; }</style>').appendTo('head');
+
+    // Hide user menu if using admin_menu
+    $('#admin-toolbar-user').hide();
 
     // check if admin_menu position fixed is true
     if ( !Drupal.settings.admin_menu.position_fixed ) {
-- 
1.7.9.5

