Skip to content

Commit

Permalink
2.5.4 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
sdturner02 committed Apr 17, 2016
1 parent a8ee23e commit 2ebe071
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Change Log
============================
### Version 2.5.4 ###
SimpleAjaxUploader.js:
* Added check for parent node inside of `ss.isVisible()` - <a href="https://github.com/LPology/Simple-Ajax-Uploader/issues/160">#160</a>

### Version 2.5.3 ###
SimpleAjaxUploader.js:
* Fixed issue with `dragleave` firing when hovering a child element - <a href="https://github.com/LPology/Simple-Ajax-Uploader/pull/156">#156</a> - (Special thanks to <a href="https://github.com/JulesDoe">JulesDoe</a> for this)
Expand Down
7 changes: 4 additions & 3 deletions SimpleAjaxUploader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Simple Ajax Uploader
* Version 2.5.3
* Version 2.5.4
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2016 LPology, LLC
Expand Down Expand Up @@ -391,9 +391,10 @@ ss.isVisible = function( elem ) {
return true;
}

if ( elem.offsetWidth > 0 ||
if ( elem && elem.parentNode &&
( elem.offsetWidth > 0 ||
elem.offsetHeight > 0 ||
ss.getStyle( elem, 'display' ).toLowerCase() != 'none' )
ss.getStyle( elem, 'display' ).toLowerCase() != 'none' ) )
{
return ss.isVisible( elem.parentNode );
}
Expand Down
4 changes: 2 additions & 2 deletions SimpleAjaxUploader.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-ajax-uploader",
"description": "A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers.",
"version": "2.5.3",
"version": "2.5.4",
"main": "SimpleAjaxUploader.js",
"keywords": [
"ajax",
Expand Down
2 changes: 1 addition & 1 deletion extras/Uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Simple Ajax Uploader
* Version 2.5.3
* Version 2.5.4
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2016 LPology, LLC
Expand Down
2 changes: 1 addition & 1 deletion extras/cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Simple Ajax Uploader
* Version 2.5.3
* Version 2.5.4
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2016 LPology, LLC
Expand Down
2 changes: 1 addition & 1 deletion extras/sessionProgress.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Simple Ajax Uploader
* Version 2.5.3
* Version 2.5.4
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2016 LPology, LLC
Expand Down
2 changes: 1 addition & 1 deletion extras/uploadProgress.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Simple Ajax Uploader
* Version 2.5.3
* Version 2.5.4
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2016 LPology, LLC
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-ajax-uploader",
"description": "A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers.",
"version": "2.5.3",
"version": "2.5.4",
"main": "SimpleAjaxUploader.js",
"keywords": [
"ajax",
Expand Down

0 comments on commit 2ebe071

Please sign in to comment.