Skip to content

Commit

Permalink
v2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaspare Sganga committed Sep 24, 2018
1 parent 6119dff commit 9972576
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 32 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).


## v2.1.6 - 2018-09-24
### Fixed
- Corner case when LoadingOverlay was being hidden with a long fade out time after the target element was resized and before `resizeInterval` was triggered



## v2.1.5 - 2018-07-03
Expand Down
10 changes: 6 additions & 4 deletions dist/loadingoverlay.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/***************************************************************************************************
LoadingOverlay - A flexible loading overlay jQuery plugin
Author : Gaspare Sganga
Version : 2.1.5
Version : 2.1.6
License : MIT
Documentation : https://gasparesganga.com/labs/jquery-loading-overlay/
***************************************************************************************************/
Expand Down Expand Up @@ -413,11 +413,13 @@ LoadingOverlay - A flexible loading overlay jQuery plugin

data.count--;
if (force || data.count <= 0) {
if (data.resizeIntervalId) clearInterval(data.resizeIntervalId);
overlay.fadeOut(data.settings.fade[1], function(){
overlay.animate({
"opacity" : 0
}, data.settings.fade[1], function(){
if (data.resizeIntervalId) clearInterval(data.resizeIntervalId);
$(this).remove();
container.removeData("loadingoverlay");
});
container.removeData("loadingoverlay");
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/loadingoverlay.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/loadingoverlay.min.js.map

Large diffs are not rendered by default.

47 changes: 28 additions & 19 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gasparesganga-jquery-loading-overlay",
"version": "2.1.5",
"version": "2.1.6",
"description": "A flexible loading overlay jQuery plugin",
"homepage": "https://gasparesganga.com/labs/jquery-loading-overlay/",
"author": "Gaspare Sganga <[email protected]> (https://gasparesganga.com)",
Expand Down Expand Up @@ -28,10 +28,10 @@
"del": "^3.0.0",
"gulp": "^4.0.0",
"gulp-header": "^2.0.5",
"gulp-rename": "^1.3.0",
"gulp-rename": "^1.4.0",
"gulp-replace": "^0.6.1",
"gulp-sourcemaps": "^2.6.4",
"gulp-uglify": "^3.0.0",
"gulp-uglify": "^3.0.1",
"inquirer": "^5.2.0"
}
}
2 changes: 1 addition & 1 deletion src/loadingoverlay.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/***************************************************************************************************
LoadingOverlay - A flexible loading overlay jQuery plugin
Author : Gaspare Sganga
Version : 2.1.6dev
Version : 2.1.6
License : MIT
Documentation : https://gasparesganga.com/labs/jquery-loading-overlay/
***************************************************************************************************/
Expand Down

0 comments on commit 9972576

Please sign in to comment.