Save progress
This commit is contained in:
@@ -196,6 +196,22 @@ $(function(){
|
||||
Qstorage.removeItem('list_closed');
|
||||
}
|
||||
setTranslations();
|
||||
$('#toggle-side-menu').click(function(){
|
||||
var body = $('body');
|
||||
var menu = $('#side-menu-container');
|
||||
if(menu.is(':visible')){
|
||||
body.animate({paddingLeft: 0});
|
||||
menu.animate({width: 0}, function(){$(this).hide()});
|
||||
|
||||
}else{
|
||||
body.animate({paddingLeft: '222px'});
|
||||
menu.show().animate({width: '222px'});
|
||||
}
|
||||
//if(body.css('margin-left') && body.css('margin-left') != '0px'){
|
||||
// body.animate('margin-left', '0')
|
||||
//}else{
|
||||
//}
|
||||
});
|
||||
});
|
||||
function setLocale(locale){
|
||||
Qstorage.setItem('locale', locale);
|
||||
|
||||
Reference in New Issue
Block a user