Skip to content

Commit

Permalink
application.js: Fixed panel animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz committed Sep 9, 2013
1 parent 450c0bf commit 289eefb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/public/admin/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $(function () {
if ($('#panel').data('state') != 'closed') {
event.preventDefault();
$('#panel').animate({
marginLeft: '-320px'
marginLeft: '-300px'
}, 300).data('state', 'closed');
$('#content').animate({
marginLeft: '10px'
Expand All @@ -41,7 +41,7 @@ $(function () {
marginLeft: '0px'
}, 300).data('state', null);
$('#content').animate({
marginLeft: '330px'
marginLeft: '310px'
}, 300);
}
});
Expand Down

0 comments on commit 289eefb

Please sign in to comment.