|
1 |
| -/*! lightgallery - v1.3.2 - 2016-09-23 |
| 1 | +/*! lightgallery - v1.3.4 - 2016-09-28 |
2 | 2 | * http://sachinchoolur.github.io/lightGallery/
|
3 | 3 | * Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */
|
4 | 4 |
|
5 | 5 | (function (root, factory) {
|
6 | 6 | if (typeof define === 'function' && define.amd) {
|
7 | 7 | // AMD. Register as an anonymous module unless amdModuleId is set
|
8 |
| - define(["jquery"], function (a0) { |
| 8 | + define(['jquery'], function (a0) { |
9 | 9 | return (factory(a0));
|
10 | 10 | });
|
11 | 11 | } else if (typeof exports === 'object') {
|
12 | 12 | // Node. Does not work with strict CommonJS, but
|
13 | 13 | // only CommonJS-like environments that support module.exports,
|
14 | 14 | // like Node.
|
15 |
| - module.exports = factory(require("jquery")); |
| 15 | + module.exports = factory(require('jquery')); |
16 | 16 | } else {
|
17 | 17 | factory(jQuery);
|
18 | 18 | }
|
19 |
| -}(this, function (jquery) { |
| 19 | +}(this, function ($) { |
20 | 20 |
|
21 | 21 |
|
22 |
| -(function(){ |
| 22 | +(function($, window, document, undefined) { |
23 | 23 | 'use strict';
|
24 | 24 |
|
25 | 25 | var defaults = {
|
|
361 | 361 | $inner.css('transition-duration', this.s.speed + 'ms');
|
362 | 362 | }
|
363 | 363 |
|
364 |
| - $('.lg-backdrop').addClass('in'); |
| 364 | + |
| 365 | + setTimeout(function() { |
| 366 | + $('.lg-backdrop').addClass('in'); |
| 367 | + }); |
365 | 368 |
|
366 | 369 | setTimeout(function() {
|
367 | 370 | _this.$outer.addClass('lg-visible');
|
|
1331 | 1334 |
|
1332 | 1335 | $.fn.lightGallery.modules = {};
|
1333 | 1336 |
|
1334 |
| -})(); |
| 1337 | +})(jQuery, window, document); |
1335 | 1338 |
|
1336 | 1339 |
|
1337 | 1340 | }));
|
0 commit comments