mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-18 06:49:47 +02:00
fix spotlight not shown when the search icon clicked
This commit is contained in:
@ -19,6 +19,7 @@ class SpotlightDialog extends this.OS.GUI.BaseDialog
|
||||
($ document).keyup @fn
|
||||
|
||||
@fn1 = (e) ->
|
||||
return if $(e.target).closest(me.parent.holder.root).length
|
||||
if not $(e.target).closest(me.scheme).length
|
||||
($ document).unbind "click", me.fn1
|
||||
($ document).unbind "keyup", me.fn
|
||||
|
Reference in New Issue
Block a user