Fix some small things in javascript

This commit is contained in:
Mathieu David 2015-12-28 16:39:14 +01:00
parent 7762475b33
commit 0dd6a17187

View file

@ -8,7 +8,7 @@ $( document ).ready(function() {
// Set theme
var theme = localStorage.getItem('theme');
if (theme == null) { theme = 'light'; }
if (theme === null) { theme = 'light'; }
set_theme(theme);
@ -84,7 +84,7 @@ $( document ).ready(function() {
$('.theme').click(function(){
var theme = $(this).attr('id');
set_theme(theme)
set_theme(theme);
});
}