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 +4 -4
- data/app/assets/javascripts/timequake/modals.js +0 -2
- data/lib/timequake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4980f005d2364bdec861ffe6472cc5aa237d8ff8ff6c0c4952057db909d83469
|
4
|
+
data.tar.gz: 237e94d890abbda9318b4d1ccbda1fdae92430a00d7fde0c6c4e000d1329b26c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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());
|
data/lib/timequake/version.rb
CHANGED
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
|
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-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|