Top left GLM logo no longer directs.
authorLaury GvR <laury@gaslightmedia.com>
Mon, 20 Oct 2014 20:43:02 +0000 (16:43 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 20 Oct 2014 20:43:02 +0000 (16:43 -0400)
Gaslightify.php
css/Gaslightify.css
js/Gaslightify.js

index ca96054..4b6c91d 100755 (executable)
@@ -86,11 +86,8 @@ function glm_custom_logo() {
         #wp-admin-bar-wp-logo > .ab-item .ab-icon:before, #header-logo {
             content: url(<?php echo plugins_url(); ?>/Gaslightify/img/GLM_flame_none_trans_32x32.png) !important;
         }
-        #wp-admin-bar-wp-logo > .ab-item {
-            content: "Return";
-        }
         #wpadminbar .quicklinks li .blavatar:before {
-            content: url(<?php echo plugins_url(); ?>/Gaslightify/img/GLM_flame_box_inverted_16x16b.png) !important; 
+            content: url(<?php echo plugins_url(); ?>/Gaslightify/img/GLM_flame_none_trans_16x16.png) !important; 
         }
     </style>
     <?php
index 0785842..14fc117 100755 (executable)
@@ -19,7 +19,8 @@ select[name="seo_filter"],
 #wp-version-message,
 #toplevel_page_wpcf7,
 #wp-admin-bar-blog-4-n, 
-#wp-admin-bar-blog-4-c {
+#wp-admin-bar-blog-4-c,
+.http-off {
     display: none !important;
 }
 // To delete the dashboard menu option
index 5ba02d9..bd120d1 100755 (executable)
@@ -2,14 +2,19 @@ jQuery(document).ready(function(){
        jQuery("#wp-admin-bar-my-account > a").click(function(){
                return false;
        });
+        jQuery("#wp-admin-bar-wp-logo > .ab-item").click(function() {
+            return false;
+        });
+        jQuery("#wp-admin-bar-wp-logo > .ab-item").hover(function() {
+            return false;
+        });
         jQuery("#wp-admin-bar-wp-logo").hover(function() {
             return false;
         });
         var jurl = jQuery(".ngg-gallery-thumbnail").attr("title");
         jQuery(".ngg-gallery-thumbnail").attr("href","http://gaslight.upnorth.net/our-work/"+jurl);
         
-        jQuery("#wp-admin-bar-wp-logo > .ab-item").attr("href",window.location.origin);
-        jQuery('#wp-admin-bar-my-account > a').attr("href","#");
+        jQuery("#wp-admin-bar-wp-logo > .ab-item").attr("href","#").attr("title","");
+        jQuery('#wp-admin-bar-my-account > a').attr("href","#").attr("title","");
         jQuery('#wp-admin-bar-user-info > a').attr("href","#");
-        
 });