X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-themes.js;h=3c5d5c57b5f82db72b7b5310ae10d8560dfaa164;hb=a8dc218ceb178e05b574deed4090503fa9be3502;hp=c868cbd86239ed6cb1cff42fe60f9e5f55a3fb11;hpb=44397e8ab2732248e68f08ba72172b7055492a44;p=gruntmaster-page.git diff --git a/js/90-themes.js b/js/90-themes.js index c868cbd..3c5d5c5 100644 --- a/js/90-themes.js +++ b/js/90-themes.js @@ -14,13 +14,14 @@ $( document ).ready(function() { $('#theme-selector').detach().prependTo($('#sidebar')); $('#theme_slate' ).on('click', function () { set_style("slate"); }); - $('#theme_cerulean').on('click', function () { set_style("cerulean"); }); $('#theme_cyborg' ).on('click', function () { set_style("cyborg"); }); - $('#theme_cosmo' ).on('click', function () { set_style("cosmo"); }); + $('#theme_readable').on('click', function () { set_style("readable"); }); }); var theme = localStorage.getItem("theme"); if(theme) { + if(theme == "cerulean" || theme == "cosmo") + theme = "readable"; set_style(theme); } })();