fix: disable plugins on the Web

pull/2830/head
Tienson Qin 2021-09-16 13:59:08 +08:00
parent d6a011fd35
commit 995fba8623
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@
:options {:on-click state/open-settings!}
:icon svg/settings-sm})
(when developer-mode?
(when (and developer-mode? (util/electron?))
{:title (t :plugins)
:options {:href (rfe/href :plugins)}})

View File

@ -160,7 +160,7 @@
;; If we set the level's value to 3, `b` will be opened and `c` will be collapsed.
:ref/default-open-blocks-level 2
:ref/linked-references-collapsed-threshold 100
:ref/linked-references-collapsed-threshold 50
;; any number between 0 and 1 (the greater it is the faster the changes of the next-interval of card reviews) (default 0.5)
;; :srs/learning-fraction 0.5