Revision 912bf2a1
b/ui/templates/home.html | ||
---|---|---|
91 | 91 |
if ($(":animated").length) { |
92 | 92 |
return; |
93 | 93 |
} |
94 |
|
|
95 |
// nothing is current to begin with |
|
94 | 96 |
$('ul.css-tabs li a.current').removeClass('current'); |
95 | 97 |
|
98 |
// move stuff around |
|
96 | 99 |
all.animate({top:'30px'}, {complete: function() { |
97 | 100 |
$(this).hide(); |
98 | 101 |
if (toggled) { |
... | ... | |
109 | 112 |
}}); |
110 | 113 |
} |
111 | 114 |
}}); |
115 |
|
|
116 |
// rotate arrow icon |
|
112 | 117 |
if (toggled) { |
113 | 118 |
$("#arrow").rotate({animateAngle: (0), bind:[{"click":function(){toggleMenu()}}]}); |
119 |
$("#arrow").rotateAnimation(0); |
|
114 | 120 |
} else { |
115 | 121 |
$("#arrow").rotate({animateAngle: (-180), bind:[{"click":function(){toggleMenu()}}]}); |
122 |
$("#arrow").rotateAnimation(-180); |
|
116 | 123 |
} |
117 | 124 |
} |
118 | 125 |
</script> |
Also available in: Unified diff