Skip to content
Browse files

fixt flickering slide box

  • Loading branch information...
1 parent c8b332b commit dedfb5a59b45525d7337d922ceeaccc17076a36d Dennis Mårtensson committed Jul 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 slidebox/slidebox.js
View
5 slidebox/slidebox.js
@@ -33,7 +33,10 @@
if (toSelected) {
var selected = slides.querySelector('[selected="true"]');
- if (selected) slide(this, children.indexOf(selected) || 0);
+ if (selected) {
+ slides.style[xtag.prefix.js + 'TransitionDuration'] = '0.00000000000001s';
+ slide(this, children.indexOf(selected) || 0);
+ }
}
};

0 comments on commit dedfb5a

Please sign in to comment.
Something went wrong with that request. Please try again.