mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 14:01:43 +00:00
Pressing enter inside input now posts, further improvements
This commit is contained in:
@@ -132,4 +132,13 @@ Citizen.CreateThread(function()
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
-- close the menu when script is restarting to avoid being stuck in NUI focus
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if resource == GetCurrentResourceName() then
|
||||
if menuIsShowed then
|
||||
TriggerEvent('esx_atm:closeATM')
|
||||
end
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user