Save progress

This commit is contained in:
2014-03-30 15:55:22 +02:00
parent e179f6e582
commit 013a41b9f6
71 changed files with 1699 additions and 107 deletions
@@ -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);