Skip to content

Commit

Permalink
Release 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Aug 10, 2020
1 parent 391eee7 commit 171ff6b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/BigPicture.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,9 @@ var BigPicture = (function () {
changeCSS(container, "opacity:1;pointer-events:auto");

// set animationEnd callback to run after animation ends (cleared if container closed)
animationEnd = setTimeout(animationEnd, 410);
if (animationEnd) {
animationEnd = setTimeout(animationEnd, 410);
}

isOpen = true;

Expand Down
2 changes: 1 addition & 1 deletion dist/BigPicture.min.js

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

4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,9 @@ function open(err) {
changeCSS(container, "opacity:1;pointer-events:auto");

// set animationEnd callback to run after animation ends (cleared if container closed)
animationEnd = setTimeout(animationEnd, 410);
if (animationEnd) {
animationEnd = setTimeout(animationEnd, 410);
}

isOpen = true;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bigpicture",
"version": "2.5.2",
"version": "2.5.3",
"description": "Lightweight image and video viewer, supports youtube / vimeo",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 171ff6b

Please sign in to comment.