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>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user