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