greatly simplified history
This commit is contained in:
+4
-1
@@ -198,7 +198,10 @@ function public.on_load()
|
||||
btn:SetWidth(60)
|
||||
btn:SetHeight(25)
|
||||
btn:SetText('Search')
|
||||
btn:SetScript('OnClick', public.start_search)
|
||||
btn:SetScript('OnClick', function()
|
||||
private.search_box:ClearFocus()
|
||||
public.start_search()
|
||||
end)
|
||||
private.search_button = btn
|
||||
end
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user