diff --git a/web/web.go b/web/web.go index f8c065f..f857d4b 100644 --- a/web/web.go +++ b/web/web.go @@ -33,4 +33,5 @@ func main() { debounced, _ := debounce.New(time.Second) jQuery("#tmpl").On(jquery.KEYUP, func() { debounced(handleChange) }) jQuery("#input").On(jquery.KEYUP, func() { debounced(handleChange) }) + handleChange() }