X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-themes.js;h=caefa395a0bc7ce4edf0e05e49361494ba8ee103;hb=a96f684c79210f1736aac6c26ce1b03d2df569b4;hp=eb5987c76041a5d720bc9787302c3120122ccc42;hpb=665aca7e1ef66c891f616866a0e75e73c4555b63;p=gruntmaster-page.git diff --git a/js/90-themes.js b/js/90-themes.js index eb5987c..caefa39 100644 --- a/js/90-themes.js +++ b/js/90-themes.js @@ -8,13 +8,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); } })();