1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

upt: delete note

This commit is contained in:
= 2020-08-25 09:45:02 +08:00
parent dfe3373143
commit e33a66895d
2 changed files with 4 additions and 11 deletions

View File

@ -1,10 +1,3 @@
<!--
* @Descripttion:
* @Author: Rick Liu
* @Date: 2020-08-21 10:11:13
* @LastEditors: Rick Liu
* @LastEditTime: 2020-08-21 10:20:34
-->
<!DOCTYPE html>
<html>
<head>

View File

@ -142,11 +142,11 @@ function searchbar_listener(event) {
function init_theme_button() {
$(ditto.theme_id).show();
// 默认主题
var currfontColor = localStorage.getItem('fontColor') || '#0d141e';
var currbgColor = localStorage.getItem('bgColor') || '#ffffff';
var currFontColor = localStorage.getItem('fontColor') || '#0d141e';
var currBgColor = localStorage.getItem('bgColor') || '#ffffff';
$('body').css({
color: currfontColor,
backgroundColor: currbgColor
color: currFontColor,
backgroundColor: currBgColor
})
$(ditto.theme_id).on('click', changeTheme);
}