Skip to content

Commit

Permalink
Focus field on page load
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryb committed Mar 25, 2013
1 parent c6a1226 commit 421e038
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/encryptor.coffee
@@ -1,5 +1,6 @@
class Encryptor
constructor: ->
$("#plain-text").focus()
$("#plain-text").keyup @encrypt

encrypt: =>
Expand Down

0 comments on commit 421e038

Please sign in to comment.