Set first text element to active for past in.
This commit is contained in:
parent
9c396593bf
commit
0df3a4da8c
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ class App.TextModuleUI extends App.Controller
|
||||||
# define elements to observe
|
# define elements to observe
|
||||||
inputElement = $('textarea')
|
inputElement = $('textarea')
|
||||||
|
|
||||||
|
# set first text element to active
|
||||||
|
ui.area = $(inputElement[0])
|
||||||
|
|
||||||
# remember active text element
|
# remember active text element
|
||||||
inputElement.bind('focusin', ->
|
inputElement.bind('focusin', ->
|
||||||
ui.area = $(@)
|
ui.area = $(@)
|
||||||
|
|
Loading…
Reference in a new issue