enhance(mobile): disable tooltip on mobile

This commit is contained in:
Tienson Qin
2021-09-28 09:47:45 +08:00
parent a7b8fd7fe9
commit d5f6eb5e66
2 changed files with 12 additions and 9 deletions

View File

@@ -1149,9 +1149,11 @@
(defn enable-tooltip?
[]
(get (get (sub-config) (get-current-repo))
:ui/enable-tooltip?
true))
(if (util/mobile?)
false
(get (get (sub-config) (get-current-repo))
:ui/enable-tooltip?
true)))
(defn show-command-doc?
[]