tramway-landing 1.4.5 → 1.4.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c0eb6c9cd6f3465274d80a5b9e9c3e8b6cc794b1f3a6b2f6b36e3a8bd411797
|
4
|
+
data.tar.gz: ee9bbda89220272bfd1e8cbd772f25c6db18e134ae0dc86d1cc42e73183ce45a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56135cbee52361e3014bdb2a2e3c2f599e2636a594588f8031aa6ce07a4b42cbcc91fcb8cf019959e338ae0e764f7d151b52aea9635ebdc90146bc374da3cd8d
|
7
|
+
data.tar.gz: 0c8f408fea10a8ec2ddeb14ded492fba2265dc2e46e54eece7c9130d341e7613462ec70e7d8a5811940c6d304e6d0e1798562d89c936b4267d00a85d9f7910d5
|
@@ -7,3 +7,11 @@ $(document).ready ->
|
|
7
7
|
$('.header-buttons').click ->
|
8
8
|
anchor = $(this).data('anchor')
|
9
9
|
$(window).scrollTop $(anchor).offset().top
|
10
|
+
|
11
|
+
iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]']
|
12
|
+
for selector in iframe_selectors_for_video
|
13
|
+
$(selector).each ->
|
14
|
+
width = $(this).parents('div').first().width()
|
15
|
+
height = width / 16 * 9
|
16
|
+
$(this).width(width)
|
17
|
+
$(this).height(height)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-landing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|