Skip to content

Commit

Permalink
Merge pull request #219 from mfurlend/master
Browse files Browse the repository at this point in the history
Set position:relative for compatibility with latest Chrome update
  • Loading branch information
LPology authored Sep 7, 2019
2 parents 0757421 + a99c10c commit d3dffb3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change Log
============================
### Version 2.6.3 ###
* Set `position:relative` instead of absolute for compatibility with latest chrome update

### Version 2.6.2 ###
* Added UTF-8 encoding to `X-File-Name` request header

Expand Down Expand Up @@ -339,4 +342,4 @@ Other items:
* Cleaned up messy areas

### Earlier versions ###
Prior to version 1.3, I did a pretty horrible job of documenting changes, and, at one point, entirely dispensed with any notion of version control whatsoever. I have since seen the light.
Prior to version 1.3, I did a pretty horrible job of documenting changes, and, at one point, entirely dispensed with any notion of version control whatsoever. I have since seen the light.
9 changes: 5 additions & 4 deletions SimpleAjaxUploader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Simple Ajax Uploader
* Version 2.6.2
* Version 2.6.3
* https://github.com/LPology/Simple-Ajax-Uploader
*
* Copyright 2012-2017 LPology, LLC
Expand Down Expand Up @@ -310,7 +310,7 @@ ss.copyLayout = function( from, to ) {
var box = ss.getBox( from );

ss.addStyles( to, {
position: 'absolute',
position: 'relative',
left : box.left + 'px',
top : box.top + 'px',
width : from.offsetWidth + 'px',
Expand Down Expand Up @@ -1999,7 +1999,7 @@ ss.extendObj( ss.SimpleUpload.prototype, {

ss.addStyles( div, {
'display' : 'block',
'position' : 'absolute',
'position' : 'relative',
'overflow' : 'hidden',
'margin' : 0,
'padding' : 0,
Expand All @@ -2013,7 +2013,7 @@ ss.extendObj( ss.SimpleUpload.prototype, {
}

ss.addStyles( this._input, {
'position' : 'absolute',
'position' : 'relative',
'right' : 0,
'margin' : 0,
'padding' : 0,
Expand Down Expand Up @@ -2275,3 +2275,4 @@ ss.extendObj( ss.SimpleUpload.prototype, ss.DragAndDrop );
return ss;

}));

Loading

0 comments on commit d3dffb3

Please sign in to comment.