Add animation to app-content
This commit is contained in:
parent
fe8d13c935
commit
fdcba04c98
|
@ -29,7 +29,7 @@
|
||||||
var $appSidebar = $el || $('#app-sidebar');
|
var $appSidebar = $el || $('#app-sidebar');
|
||||||
$appSidebar.removeClass('disappear')
|
$appSidebar.removeClass('disappear')
|
||||||
.show('slide', { direction: 'right' }, 200);
|
.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() {
|
function() {
|
||||||
$appSidebar.addClass('disappear');
|
$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