This website works better with JavaScript.
首頁
探索
說明
登入
kyle
/
quad
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fix setting new mode when unset
dev
Kyle
1 年之前
父節點
c9e6b1cdc5
當前提交
0588da46bf
共有
2 個文件被更改
,包括
2 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
js/index.js
+1
-1
js/options.js
+ 1
- 1
js/index.js
查看文件
@ -34,7 +34,7 @@ function restore_options() {
}
}
else
{
result
.
mode
=
"light"
browser
.
storage
.
sync
.
set
(
mode
)
browser
.
storage
.
sync
.
set
(
{
mode
:
result
.
mode
}
)
}
document
.
head
.
appendChild
(
style
)
}
+ 1
- 1
js/options.js
查看文件
@ -45,7 +45,7 @@ function restore_options() {
}
}
else
{
result
.
mode
=
"light"
browser
.
storage
.
sync
.
set
(
mode
)
browser
.
storage
.
sync
.
set
(
{
mode
:
result
.
mode
}
)
}
document
.
head
.
appendChild
(
style
)
}
Write
Preview
Loading…
取消
儲存