Browse Source

Remove some unnecessary voodoo

pull/2416/head
jlukic 9 years ago
parent
commit
384ea1226c
1 changed files with 2 additions and 3 deletions
  1. 5
      src/definitions/modules/transition.js

5
src/definitions/modules/transition.js

@ -280,10 +280,11 @@ $.fn.transition = function() {
module.save.animation(animationClass);
// override display if necessary so animation appears visibly
module.remove.hidden();
module.set.display();
module.remove.hidden();
module.remove.direction();
$module
.addClass(animationClass)
.one(animationEnd + '.complete' + eventNamespace, module.complete)
@ -316,8 +317,6 @@ $.fn.transition = function() {
displayType = module.get.displayType(),
overrideStyle = style + 'display: ' + displayType + ' !important;'
;
$module.css('display', '');
module.refresh();
if( $module.css('display') !== displayType ) {
module.verbose('Setting inline visibility to', displayType);
$module

Loading…
Cancel
Save