[#263] Remove dead code, was unbound in later JS

This commit is contained in:
Eric Davis 2011-10-28 14:51:08 -07:00
parent cbb99f81a1
commit 34ffbc8e46
1 changed files with 0 additions and 12 deletions

View File

@ -385,15 +385,6 @@ jQuery.viewportHeight = function() {
jQuery(document).ready(function($) {
// header menu hovers
$("#account .drop-down").hover(function() {
$(this).addClass("open").find("ul").slideDown(animationRate);
$("#top-menu").toggleClass("open");
}, function() {
$(this).removeClass("open").find("ul").slideUp(animationRate);
$("#top-menu").toggleClass("open");
});
// show/hide header search box
// TODO: switch to live after upgrading jQuery version. "flicker" bug.
$("#account a.search").click(function() {
@ -472,9 +463,6 @@ jQuery(document).ready(function($) {
return false;
});
// header animation replacement - no animation, straight appear/hide
$("#account .drop-down").unbind('mouseenter').unbind("mouseleave"); //remove the current animated handlers
// remove .drop-down class from empty dropdowns
$("#account .drop-down").each(function(index) {
if ($(this).find("li").size() < 1) {