mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-18 10:08:34 +00:00
fix(client/context): reset focus when selecting option (#310)
This commit is contained in:
1 parent
d389bc6010
commit
74876c8b4e
1 file changed
+1
@@ -101,6 +101,7 @@ RegisterNUICallback('clickContext', function(id, cb)
|
||||
openContextMenu = nil
|
||||
|
||||
SendNUIMessage({ action = 'hideContext' })
|
||||
lib.resetNuiFocus()
|
||||
|
||||
if data.onSelect then data.onSelect(data.args) end
|
||||
if data.event then TriggerEvent(data.event, data.args) end
|
||||
|
||||
Reference in new issue
Block a user