$( ".post" ).addClass( "design" );
$('#styleoff').click(function() {
if ($(this).val() != 1) {
localStorage.setItem(ckname, myList[11].href);
myList[11].href="#";
$(this).val(1);
$(this).text('Style on');
document.body.style.backgroundColor = '#000';
// ez itten
$( "#forum-posts-list" ).addClass( "design" );
} else {
myList[11].href=localStorage.getItem(ckname);
localStorage.removeItem(ckname);
$(this).val(0);
$(this).text('Style off');
document.body.style.backgroundColor = 'transparent';
// meg ez itten
$( "#forum-posts-list" ).removeClass( "design" );
}
});