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:
parent
dfe3373143
commit
e33a66895d
@ -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>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -142,11 +142,11 @@ function searchbar_listener(event) {
|
|||||||
function init_theme_button() {
|
function init_theme_button() {
|
||||||
$(ditto.theme_id).show();
|
$(ditto.theme_id).show();
|
||||||
// 默认主题
|
// 默认主题
|
||||||
var currfontColor = localStorage.getItem('fontColor') || '#0d141e';
|
var currFontColor = localStorage.getItem('fontColor') || '#0d141e';
|
||||||
var currbgColor = localStorage.getItem('bgColor') || '#ffffff';
|
var currBgColor = localStorage.getItem('bgColor') || '#ffffff';
|
||||||
$('body').css({
|
$('body').css({
|
||||||
color: currfontColor,
|
color: currFontColor,
|
||||||
backgroundColor: currbgColor
|
backgroundColor: currBgColor
|
||||||
})
|
})
|
||||||
$(ditto.theme_id).on('click', changeTheme);
|
$(ditto.theme_id).on('click', changeTheme);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user