Skip to content

Commit

Permalink
v2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaspare Sganga committed Apr 26, 2018
1 parent 4d2d6e9 commit 1c333bb
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## v2.1.2 - 2018-04-26
### Fixed
- Bug introduced in v2.1.1 causing multiple LoadingOverlays to be shown on a single element



## v2.1.1 - 2018-04-22
### Fixed
- Gracefully hides when target element is arbitrary removed from DOM
Expand Down
7 changes: 4 additions & 3 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.1
Version : 2.1.2
License : MIT
Documentation : https://gasparesganga.com/labs/jquery-loading-overlay/
***************************************************************************************************/
Expand Down Expand Up @@ -218,9 +218,10 @@ LoadingOverlay - A flexible loading overlay jQuery plugin
settings.resizeInterval = parseInt(settings.resizeInterval, 10) || 0;

var overlay = container.data("loadingoverlay");
if (typeof data === "undefined") {
var data = _GetData(overlay);
if (data === false) {
// Init data
var data = $.extend({}, _dataTemplate);
data = $.extend({}, _dataTemplate);
data.container = container;
data.wholePage = container.is("body");

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.

2 changes: 1 addition & 1 deletion package-lock.json

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": "gasparesganga-jquery-loading-overlay",
"version": "2.1.1",
"version": "2.1.2",
"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
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.2dev
Version : 2.1.2
License : MIT
Documentation : https://gasparesganga.com/labs/jquery-loading-overlay/
***************************************************************************************************/
Expand Down

0 comments on commit 1c333bb

Please sign in to comment.