effective_bootstrap 0.3.15 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bbf6bd3ec7def180b40cbcb63051fd4df9bcd34
4
- data.tar.gz: 6a12b389a429f0172bc3c98e07f5309591a22c1d
3
+ metadata.gz: e09385478bc3ad2f4da2dbd248e232745fc62d3f
4
+ data.tar.gz: 98dfd6d6f1f370dd6866aaad7bdeff5491e8d552
5
5
  SHA512:
6
- metadata.gz: 5fc72b857ca9fd5b05396472c55ebd870aa4c739f749f84d96ce658e71d4a3b68ade1ad128d0d7923dfbe3d525a2d426aeb9b9050140f23cffa4534ea1a54b4f
7
- data.tar.gz: 03b7fabea05279fb5579cbf61fbbf753234c5768547db87dc1ad3a45de917d02303e477b22834bffad17a9ad729c2e290ac5ee944be6afd8427f6e245c21a477
6
+ metadata.gz: f5013c4370f56ce9461857d9a6ff0f16eec6814066c7f837825a49d6924a988b4bf82636bc322270b8757385761cda2f7dcba67df93edf1b60a93d1a7220e213
7
+ data.tar.gz: 9148d825b28625729396f53b71259cde342498383769753c65adaf6eadccb3f398251b00d5aecc307098431e1fa8885850f95fe1f929efc2bfdfeaab58ec8637
@@ -8,6 +8,10 @@ $(document).on 'select2:open', (event) ->
8
8
  $select.removeData('state')
9
9
  setTimeout ( => $select.select2('close') ), 0
10
10
 
11
+ # For tabbing through
12
+ # https://stackoverflow.com/questions/20989458/select2-open-dropdown-on-focus
13
+ $(document).on 'focus', '.select2', (event) -> $(this).siblings('select').select2('open')
14
+
11
15
  # effective_select custom reinitialization functionality
12
16
  # This is a custom event intended to be manually triggered when the underlying options change
13
17
  # You can use this to dynamically disable options (with or without the effective_select hide_disabled: true)
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.3.15'.freeze
2
+ VERSION = '0.3.16'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.15
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails