jquery-colorbox-rails 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/jquery-colorbox-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.colorbox.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcda05541dde4aeea23fdf088a5c7f072d2dec6c
|
4
|
+
data.tar.gz: fe90d9a49829778c6aa80a2f6d6b6b3a443d4974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eaaaacf5b5eeb697d3fc78cf21cf107e44865d716aabd983b261a47c7a2cc18565704ec4547789f431a58d31999777dc63c5e8fb0e59705c0c299822136c24e
|
7
|
+
data.tar.gz: b41537067ddb1be123b7714d163729275df4087290cf9e0fcf9a6a5193e994997b687f8aec8e910be8043d096c833c1aac698b2f286070eebb19894092009f4b
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Colorbox 1.6.
|
2
|
+
Colorbox 1.6.3
|
3
3
|
license: MIT
|
4
4
|
http://www.jacklmoore.com/colorbox
|
5
5
|
*/
|
@@ -413,8 +413,8 @@
|
|
413
413
|
var maxWidth = settings.get('maxWidth');
|
414
414
|
var maxHeight = settings.get('maxHeight');
|
415
415
|
|
416
|
-
settings.w = (maxWidth !== false ? Math.min(initialWidth, setSize(maxWidth, 'x')) : initialWidth) - loadedWidth - interfaceWidth;
|
417
|
-
settings.h = (maxHeight !== false ? Math.min(initialHeight, setSize(maxHeight, 'y')) : initialHeight) - loadedHeight - interfaceHeight;
|
416
|
+
settings.w = Math.max((maxWidth !== false ? Math.min(initialWidth, setSize(maxWidth, 'x')) : initialWidth) - loadedWidth - interfaceWidth, 0);
|
417
|
+
settings.h = Math.max((maxHeight !== false ? Math.min(initialHeight, setSize(maxHeight, 'y')) : initialHeight) - loadedHeight - interfaceHeight, 0);
|
418
418
|
|
419
419
|
$loaded.css({width:'', height:settings.h});
|
420
420
|
publicMethod.position();
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-colorbox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07
|
11
|
+
date: 2015-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|