Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bad merge from 4c7c5fe into 611baec

  • Loading branch information...
commit 59ffc3644fdfbe74fd11b5d17ecb851209edb8e1 1 parent 01a3890
@kabel authored
Showing with 1 addition and 9 deletions.
  1. +1 −9 wdn/templates_3.1/scripts/tabs.js
View
10 wdn/templates_3.1/scripts/tabs.js
@@ -34,7 +34,7 @@ WDN.tabs = (function() {
initialize : function() {
WDN.log ("tabs JS loaded");
-
+
// Set up the event for when a tab is clicked
var hashFromTabClick = false,
$tabsWithSwitch = WDN.jQuery('ul.wdn_tabs').not('.disableSwitching');
@@ -61,14 +61,6 @@ WDN.tabs = (function() {
return false;
});
- // Adds spacing if subtabs are present
- if (WDN.jQuery('#maincontent ul.wdn_tabs li ul').length) {
- WDN.jQuery('#maincontent ul.wdn_tabs').css({'margin-bottom':'70px'});
- if (ie7) {
- WDN.jQuery('#maincontent ul.wdn_tabs li ul li').css({'display':'inline'});
- }
- }
-
// If we have some tabs setup the hash stuff
if ($tabsWithSwitch.length) {
var isValidTabHash = function(hash) {
Please sign in to comment.
Something went wrong with that request. Please try again.