Last active
June 7, 2016 11:05
-
-
Save pitkane/a5c8b4a73a2e5dd8f14e4cd1c6733205 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.ready({ DOM:true }, function($) { | |
$("li[class^='tab-'].unselected").each(function() { | |
if( $(this).find('span').length > 0 ) { | |
if( $(this).find('span > a').length == 0 ) { | |
$(this).addClass('HideElement'); | |
} | |
}; | |
}); | |
$("li[id^='Tab-'].unselected").each(function() { | |
if( $(this).find('span').length > 0 ) { | |
if( $(this).find('span > a').length == 0 ) { | |
$(this).addClass('HideElement'); | |
} | |
}; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment