Skip to content

Commit

Permalink
Effect transitions that actually finish within the hour
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 8, 2013
1 parent 7ada274 commit fc91078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horde/js/sidebar.js
Expand Up @@ -29,15 +29,15 @@ var HordeSidebar = {
while (Object.isElement(elt)) {
switch (elt.className) {
case 'horde-collapse':
elt.up().next().blindUp({ queue: 'end' });
elt.up().next().blindUp({ duration: 0.5, queue: 'end' });
elt.title = this.text.expand;
elt.removeClassName('horde-collapse');
elt.addClassName('horde-expand');
document.cookie = 'horde_sidebar_c_' + elt.identify() + '=1' + params;
return;

case 'horde-expand':
elt.up().next().blindDown({ queue: 'end' });
elt.up().next().blindDown({ duration: 0.5, queue: 'end' });
elt.title = this.text.collapse;
elt.removeClassName('horde-expand');
elt.addClassName('horde-collapse');
Expand Down

0 comments on commit fc91078

Please sign in to comment.