timequake 2.0.11 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa5956d164a95d1f61677b103337cd0c5d1e47ca29af1609ac3080c377e7ceae
4
- data.tar.gz: 365f970fcf17500352bcb6bd675dbce9c3a0264460db55c604a091ab3ea7f6e4
3
+ metadata.gz: 4980f005d2364bdec861ffe6472cc5aa237d8ff8ff6c0c4952057db909d83469
4
+ data.tar.gz: 237e94d890abbda9318b4d1ccbda1fdae92430a00d7fde0c6c4e000d1329b26c
5
5
  SHA512:
6
- metadata.gz: d1a42243a624cd77d59b98b0156bcfe35a43b2318cf003d5736d0a2677763eae9c23e6cbafb0124bef8ae952ce9edd9f3cc84065b980a92570c9aa65b2d8a829
7
- data.tar.gz: 98357297a9f04681eec1e46b86ef680c32513c5a126dcd9765346820e9b0747434e6cb68d5ffd18549fccc0901bd9b27a0b24fccf59e89047e839815c6727cb2
6
+ metadata.gz: 04a4b09485f440bf66366de5100faec47f143d73d8525a5f3beb475a48a7f7ff0d2807cbcdb64aed66d5f9bd1a20fe5738d58009a86478d864249dc0a0ee5a20
7
+ data.tar.gz: ab9dad2abccda552c0610185e0922cb127148cdbb3e5c4829113663f650a96a2620526822aad73da0776bf24b88fc9187a2e7dbe055867a041e2adc9fc5c1dbc
@@ -2,12 +2,10 @@ $(document).ready(function() {
2
2
  $('.modal-open').click(function(e) {
3
3
  e.preventDefault();
4
4
  let model = $(this).data('modal');
5
- let needTallModal = window.innerHeight < $('.modal-content').height();
6
5
  let thisModal = $('.modal.' + model)
7
6
 
8
7
  thisModal.addClass('active');
9
8
  $('html, body').css('overflow', 'hidden');
10
- needTallModal ? thisModal.addClass('modal-tall') : thisModal.removeClass('modal-tall');
11
9
  })
12
10
 
13
11
  $('.modal .modal-content').click(e => e.stopPropagation());
@@ -1,3 +1,3 @@
1
1
  module Timequake
2
- VERSION = "2.0.11"
2
+ VERSION = "2.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timequake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Morris
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails