ama_layout 2.1.2 → 2.1.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36ee0b7d4f4f82c3c8b6fc452267bc68d9cb238
|
4
|
+
data.tar.gz: 4135633c27d206600e16e76fc35b4e700e9a4eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5ff62ce1a34a0254a1663c652b2349b89a676721153db7a30c41de9b6222e39a9c5ffe937484391791c41045b8bf1658c2f193baa5e1fb44eeee4b4869ff886
|
7
|
+
data.tar.gz: 892e96c6fad99b96a2a066e15bc68483122f8b3ad71a6c3e70bc7bbf80c3ca97c76ecd05706ebf9c17252f9e24765073bd9ec38e427290462670a7abffad8e1d
|
@@ -1,19 +1,29 @@
|
|
1
1
|
$(window).bind
|
2
2
|
load: ->
|
3
3
|
adjustFooter()
|
4
|
-
|
4
|
+
clickChecker()
|
5
5
|
resize: ->
|
6
6
|
adjustFooter()
|
7
|
-
|
7
|
+
clickChecker()
|
8
8
|
|
9
9
|
adjustFooter = ->
|
10
10
|
$("footer").css({ 'margin-top': calcHeight() + 'px' })
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
clickChecker = ->
|
13
|
+
checkClicks(".close-button", 250)
|
14
|
+
checkClicks("a.asset-link.clearfix", 1)
|
15
|
+
|
16
|
+
checkClicks = (tag_to_check, delay) ->
|
17
|
+
$(tag_to_check).click ->
|
18
|
+
i = delay
|
19
|
+
while i >= 0
|
20
|
+
readjust(i)
|
21
|
+
i--
|
22
|
+
|
23
|
+
readjust = (delay) ->
|
24
|
+
setTimeout ->
|
25
|
+
adjustFooter()
|
26
|
+
, delay
|
17
27
|
|
18
28
|
calcHeight = ->
|
19
29
|
footer = $("footer")
|
data/lib/ama_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ama_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
336
|
version: '0'
|
337
337
|
requirements: []
|
338
338
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.4.5
|
339
|
+
rubygems_version: 2.4.5.1
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: ".ama.ab.ca site layouts"
|