Skip to content

Commit

Permalink
Version 0.0.4 release..
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Aug 9, 2016
1 parent a693675 commit 66e9811
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lg-thumbnail.js",
"version": "0.0.3",
"version": "0.0.4",
"description": "Thumbnail module for lightgallery.",
"main": [
"dist/lg-thumbnail.min.js"
Expand Down
14 changes: 7 additions & 7 deletions dist/lg-thumbnail.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**!
* lg-thumbnail.js | 0.0.3 | August 4th 2016
* lg-thumbnail.js | 0.0.4 | August 9th 2016
* http://sachinchoolur.github.io/lg-thumbnail.js
* Copyright (c) 2016 Sachin N;
* @license Apache 2.0
Expand Down Expand Up @@ -45,7 +45,7 @@

exThumbImage: false,
showThumbByDefault: true,
toogleThumb: true,
toggleThumb: true,
pullCaptionUp: true,

enableThumbDrag: true,
Expand Down Expand Up @@ -109,7 +109,7 @@
this.thumbClickable = true;
}

this.toogle();
this.toggle();
this.thumbkeyPress();
}
};
Expand Down Expand Up @@ -443,12 +443,12 @@
});
};

Thumbnail.prototype.toogle = function () {
Thumbnail.prototype.toggle = function () {
var _this = this;
if (_this.core.s.toogleThumb) {
if (_this.core.s.toggleThumb) {
utils.addClass(_this.core.outer, 'lg-can-toggle');
_this.thumbOuter.insertAdjacentHTML('beforeend', '<span class="lg-toogle-thumb lg-icon"></span>');
utils.on(_this.core.outer.querySelector('.lg-toogle-thumb'), 'click.lg', function () {
_this.thumbOuter.insertAdjacentHTML('beforeend', '<span class="lg-toggle-thumb lg-icon"></span>');
utils.on(_this.core.outer.querySelector('.lg-toggle-thumb'), 'click.lg', function () {
if (utils.hasClass(_this.core.outer, 'lg-thumb-open')) {
utils.removeClass(_this.core.outer, 'lg-thumb-open');
} else {
Expand Down
4 changes: 2 additions & 2 deletions dist/lg-thumbnail.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lg-thumbnail.js",
"version": "0.0.3",
"version": "0.0.4",
"description": "Thumbnail module for lightgallery.",
"keywords": [
"gallery",
Expand Down

0 comments on commit 66e9811

Please sign in to comment.