Fix some small things in javascript
This commit is contained in:
parent
7762475b33
commit
0dd6a17187
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue