From ae6e23bc9350dd5be2db2592e2e9cc0e305c54ec Mon Sep 17 00:00:00 2001
From: Michael <michael.danielczok@gmail.com>
Date: Thu, 9 Feb 2017 11:27:36 +0100
Subject: [PATCH] =?UTF-8?q?fix:=20f=C3=BCr=20IE=20muss=20das=20slideout=20?=
 =?UTF-8?q?Panel=20z-index=200=20haben?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 bin/SlideOut.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/bin/SlideOut.js b/bin/SlideOut.js
index 5cfe1b9..5c592be 100644
--- a/bin/SlideOut.js
+++ b/bin/SlideOut.js
@@ -76,6 +76,15 @@ define('package/quiqqer/menu/bin/SlideOut', [
 
             Elm = Elm.getParent();
 
+            // fix for IE - z-index must have the value 0
+            if (navigator.appName == 'Microsoft Internet Explorer' ||
+                !!(navigator.userAgent.match(/Trident/) ||
+                navigator.userAgent.match(/rv:11/)) ||
+                (typeof $.browser !== "undefined" && $.browser.msie == 1))
+            {
+                Elm.setStyle('z-index', 1);
+            }
+
             // body childrens
             var children = document.body.getChildren();
             var BodyWrapper = new Element('div').inject(document.body);
-- 
GitLab