[gimp-web/gimp-web-static] Trying to fix sub-nav flash of content



commit 3276d58d0caa1b2c2a6f265369683fa86d7e18c0
Author: Pat David <pat patdavid net>
Date:   Tue Sep 22 22:17:45 2015 -0500

    Trying to fix sub-nav flash of content

 content/js/push-menu.js            |    7 ++-----
 themes/newgimp/templates/base.html |    2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/content/js/push-menu.js b/content/js/push-menu.js
index 955da63..37fdd49 100644
--- a/content/js/push-menu.js
+++ b/content/js/push-menu.js
@@ -8,7 +8,6 @@ var page = document.getElementById('pushPage');
 var menu = document.getElementById('menu');
 
 menu.style.visibility = 'visible';
-menu.style.zIndex = 1;
 
 var toggle = function(e){
     e.preventDefault();
@@ -79,7 +78,5 @@ setInterval( function() {
     }
 }, 250);
 
-
-
-
-
+menu.style.display = 'initial';
+menu.style.zIndex = '1';
diff --git a/themes/newgimp/templates/base.html b/themes/newgimp/templates/base.html
index 8794345..a91e630 100644
--- a/themes/newgimp/templates/base.html
+++ b/themes/newgimp/templates/base.html
@@ -47,7 +47,7 @@
 
 <body id="index" class="home">
 
-        <nav id="menu" style='z-index: -1;'>
+        <nav id="menu" style='display: none;'>
             <ul>
                 <li id='gimp-home'><a href="/"><img src='/images/wilber-tiny.png'> GIMP</a></li>
                 <li><a href="/downloads/"><i class="fa fa-download"></i> Download</a></li>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]