Add animation to app-content
This commit is contained in:
parent
fe8d13c935
commit
fdcba04c98
|
@ -29,7 +29,7 @@
|
|||
var $appSidebar = $el || $('#app-sidebar');
|
||||
$appSidebar.removeClass('disappear')
|
||||
.show('slide', { direction: 'right' }, 200);
|
||||
$('#app-content').addClass('with-app-sidebar').trigger(new $.Event('appresized'));
|
||||
$('#app-content').addClass('with-app-sidebar', 200).trigger(new $.Event('appresized'));
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -44,7 +44,7 @@
|
|||
function() {
|
||||
$appSidebar.addClass('disappear');
|
||||
});
|
||||
$('#app-content').removeClass('with-app-sidebar').trigger(new $.Event('appresized'));
|
||||
$('#app-content').removeClass('with-app-sidebar', 100).trigger(new $.Event('appresized'));
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue