Skip to content

Commit

Permalink
Update demo with latest files
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Feb 5, 2017
1 parent c9a1619 commit a52398b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions demo/js/lg-thumbnail.js
@@ -1,4 +1,4 @@
/*! lg-thumbnail - v1.0.2 - 2017-01-22
/*! lg-thumbnail - v1.0.3 - 2017-02-05
* http://sachinchoolur.github.io/lightGallery
* Copyright (c) 2017 Sachin N; Licensed GPLv3 */

Expand Down Expand Up @@ -111,7 +111,7 @@
var vimeoErrorThumbSize = '';
var $thumb;
var html = '<div class="lg-thumb-outer">' +
'<div class="lg-thumb group">' +
'<div class="lg-thumb lg-group">' +
'</div>' +
'</div>';

Expand Down
4 changes: 2 additions & 2 deletions demo/js/lg-thumbnail.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions demo/js/lightgallery.js
@@ -1,4 +1,4 @@
/*! lightgallery - v1.3.8 - 2017-01-22
/*! lightgallery - v1.3.9 - 2017-02-05
* http://sachinchoolur.github.io/lightGallery/
* Copyright (c) 2017 Sachin N; Licensed GPLv3 */

Expand Down Expand Up @@ -270,6 +270,8 @@

});

_this.$outer.trigger('mousemove.lg');

};

Plugin.prototype.structure = function() {
Expand Down Expand Up @@ -303,7 +305,7 @@
template = '<div class="lg-outer ' + this.s.addClass + ' ' + this.s.startClass + '">' +
'<div class="lg" style="width:' + this.s.width + '; height:' + this.s.height + '">' +
'<div class="lg-inner">' + list + '</div>' +
'<div class="lg-toolbar group">' +
'<div class="lg-toolbar lg-group">' +
'<span class="lg-close lg-icon"></span>' +
'</div>' +
controls +
Expand Down Expand Up @@ -1274,9 +1276,9 @@

if (!d) {
_this.$el.trigger('onBeforeClose.lg');
$(window).scrollTop(_this.prevScrollTop);
}

$(window).scrollTop(_this.prevScrollTop);

/**
* if d is false or undefined destroy will only close the gallery
Expand Down

0 comments on commit a52398b

Please sign in to comment.