Skip to content

Commit

Permalink
set position:relative (chrome bugfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfurlend committed Sep 5, 2019
1 parent 0757421 commit 4dd07f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
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 4dd07f4

Please sign in to comment.