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
|
||||
inputElement = $('textarea')
|
||||
|
||||
# set first text element to active
|
||||
ui.area = $(inputElement[0])
|
||||
|
||||
# remember active text element
|
||||
inputElement.bind('focusin', ->
|
||||
ui.area = $(@)
|
||||
|
|
Loading…
Reference in a new issue