]> iEval git - gruntmaster-page.git/blobdiff - js/90-themes.js
Merge branch 'master' into newmc
[gruntmaster-page.git] / js / 90-themes.js
index c868cbd86239ed6cb1cff42fe60f9e5f55a3fb11..3c5d5c57b5f82db72b7b5310ae10d8560dfaa164 100644 (file)
        $( 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.021027 seconds and 4 git commands to generate.