diff --git a/SimpleAjaxUploader.js b/SimpleAjaxUploader.js index 29ced73..c973dd8 100644 --- a/SimpleAjaxUploader.js +++ b/SimpleAjaxUploader.js @@ -1,6 +1,6 @@ /** * Simple Ajax Uploader - * Version 2.6.3 + * Version 2.6.4 * https://github.com/LPology/Simple-Ajax-Uploader * * Copyright 2012-2017 LPology, LLC @@ -1998,7 +1998,7 @@ ss.extendObj( ss.SimpleUpload.prototype, { } ss.addStyles( div, { - 'display' : 'block', + 'display' : 'none', 'position' : 'relative', 'overflow' : 'hidden', 'margin' : 0, diff --git a/SimpleAjaxUploader.min.js b/SimpleAjaxUploader.min.js index 3749754..5ad5a9f 100644 --- a/SimpleAjaxUploader.min.js +++ b/SimpleAjaxUploader.min.js @@ -1,2 +1,2 @@ -/** Simple Ajax Uploader v2.6.3 Copyright 2012-2015 LPology, LLC MIT license https://github.com/LPology/Simple-Ajax-Uploader */ -!function(e,t){"function"==typeof define&&define.amd?define(function(){return t(e)}):"object"==typeof module&&module.exports?module.exports=t(e):e.ss=t(e)}("undefined"!=typeof window?window:this,function(e){var t,s=e.ss||{},n=/^\s+/,i=/\s+$/,o=/[xy]/g,r=/.*(\/|\\)/,a=/.*[.]/,u=/[\t\r\n]/g,l=Object.prototype.toString.call(e.HTMLElement).indexOf("Constructor")>0,d=-1!==navigator.userAgent.indexOf("MSIE")&&-1===navigator.userAgent.indexOf("MSIE 1"),c=-1!==navigator.userAgent.indexOf("MSIE 7"),p=document.createElement("input");p.type="file",t="multiple"in p&&"undefined"!=typeof File&&void 0!==(new XMLHttpRequest).upload,s.obj2string=function(e,t){"use strict";var n=[];for(var i in e)if(e.hasOwnProperty(i)){var o=t?t+"["+i+"]":i,r=e[i];n.push("object"==typeof r?s.obj2string(r,o):encodeURIComponent(o)+"="+encodeURIComponent(r))}return n.join("&")},s.extendObj=function(e,t){"use strict";for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])},s.addEvent=function(e,t,n){"use strict";return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n),function(){s.removeEvent(e,t,n)}},s.removeEvent=document.removeEventListener?function(e,t,s){e.removeEventListener&&e.removeEventListener(t,s,!1)}:function(e,t,s){var n="on"+t;void 0===e[n]&&(e[n]=null),e.detachEvent(n,s)},s.newXHR=function(){"use strict";if("undefined"!=typeof XMLHttpRequest)return new e.XMLHttpRequest;if(e.ActiveXObject)try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){return!1}},s.encodeUTF8=function(e){"use strict";return unescape(encodeURIComponent(e))},s.getIFrame=function(){"use strict";var e,t=s.getUID();return c?e=document.createElement('