magnific-popup-rails 0.9.3 → 0.9.4
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: 5cc8b8bc89dfb4d6c2e1b0f10e7075845c5c9f03
|
4
|
+
data.tar.gz: c67bd32477666ac9da23380d552576ab47bb110d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc43e875bd28e24f43fc7b82ad056d2a8e66998693626bcb71f0bbe532a3ed5675c8f6db824ba7bdf3c1aa6907943c3654522c5dc06537cd3c34c8c7cfb27e44
|
7
|
+
data.tar.gz: 6e3f6220b241a6110b003c9c4a76d59385bfc9fdab734c2273d677a7f0614323f4b28eb4a3110eb8acdbe4cfd2e506964fa7ce3a7aaff16ec499d53efe106871
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Magnific Popup - v0.9.
|
1
|
+
/*! Magnific Popup - v0.9.4 - 2013-08-07
|
2
2
|
* http://dimsemenov.com/plugins/magnific-popup/
|
3
3
|
* Copyright (c) 2013 Dmitry Semenov; */
|
4
4
|
;(function($) {
|
@@ -1183,7 +1183,7 @@ $.magnificPopup.registerModule('image', {
|
|
1183
1183
|
},
|
1184
1184
|
resizeImage: function() {
|
1185
1185
|
var item = mfp.currItem;
|
1186
|
-
if(!item.img) return;
|
1186
|
+
if(!item || !item.img) return;
|
1187
1187
|
|
1188
1188
|
if(mfp.st.image.verticalFit) {
|
1189
1189
|
var decr = 0;
|
@@ -1307,7 +1307,7 @@ $.magnificPopup.registerModule('image', {
|
|
1307
1307
|
|
1308
1308
|
var el = template.find('.mfp-img');
|
1309
1309
|
if(el.length) {
|
1310
|
-
var img =
|
1310
|
+
var img = document.createElement('img');
|
1311
1311
|
img.className = 'mfp-img';
|
1312
1312
|
item.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);
|
1313
1313
|
img.src = item.src;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magnific-popup-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Jansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|