iam 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -31,7 +31,7 @@ Also you may log in using user_id (e.g. 42):
31
31
  Add gem to your gemfile:
32
32
 
33
33
  ```ruby
34
- gem 'iam', '~> 0.1.1'
34
+ gem 'iam', '~> 0.1.3'
35
35
  ```
36
36
 
37
37
  Add helper to your application layout (after `jQuery`):
data/lib/iam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Iam
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -33,7 +33,7 @@ $ ->
33
33
  input = ''
34
34
 
35
35
  $(document).on 'keypress', (e) ->
36
- $selectedInput = $(document.getSelection().focusNode).find('input')
36
+ $selectedInput = $(document.getSelection().focusNode).find('input, textarea')
37
37
 
38
38
  if $selectedInput.length == 0 && (e.keyCode == 96 || e.keyCode == 1105) # '`' || 'ё'
39
39
  log_in_by_input()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: