Improved wording.

This commit is contained in:
Martin Edenhofer 2019-09-02 09:55:10 +02:00
parent c8ef769829
commit 366a0b32e3

View file

@ -41,7 +41,7 @@ class App.ControllerForm extends App.Controller
# Previously the handlers are called directly, before the DOM elements are ready, thereby causing a race condition under IE11. # Previously the handlers are called directly, before the DOM elements are ready, thereby causing a race condition under IE11.
# Now we only dispatch the handlers after the DOM is ready. # Now we only dispatch the handlers after the DOM is ready.
if @handlers.length if @handlers.length
$(@dispatch_handlers) $(@dispatchHandlers)
# if element is given, prepend form to it # if element is given, prepend form to it
if @el if @el
@ -57,7 +57,7 @@ class App.ControllerForm extends App.Controller
@finishForm = true @finishForm = true
@form @form
dispatch_handlers: => dispatchHandlers: =>
params = App.ControllerForm.params(@form) params = App.ControllerForm.params(@form)
for attribute in @attributes for attribute in @attributes
for handler in @handlers for handler in @handlers