]> iEval git - gruntmaster-page.git/blobdiff - js/90-themes.js
Replace cerulean and cosmo themes with readable
[gruntmaster-page.git] / js / 90-themes.js
index eb5987c76041a5d720bc9787302c3120122ccc42..caefa395a0bc7ce4edf0e05e49361494ba8ee103 100644 (file)
@@ -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);
        }
 })();
This page took 0.019101 seconds and 4 git commands to generate.