X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjs%2Fajaxupload.js;h=533fe2e924ef9cc7b98ee70ad37ca1d4f7791bb2;hb=ee3fda57c3b44c47527f5d3eed9c0f749a619320;hp=1c34b11b9ed87483669acd2faa0c6c62936da49d;hpb=cd392db0785fcc8dfc95af99bee934a231ba9016;p=friendica.git diff --git a/view/js/ajaxupload.js b/view/js/ajaxupload.js index 1c34b11b9e..533fe2e924 100644 --- a/view/js/ajaxupload.js +++ b/view/js/ajaxupload.js @@ -1,3 +1,4 @@ +// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat /** * AJAX Upload ( http://valums.com/ajax-upload/ ) * Copyright (c) Andris Valums @@ -39,7 +40,7 @@ /** * Attaches resize event to a window, limiting - * number of event fired. Fires only when encounteres + * number of event fired. Fires only when encounters * delay of 100 after series of events. * * Some browsers fire event multiple times when resizing @@ -156,7 +157,7 @@ /** * Function places an absolutely positioned * element on top of the specified element - * copying position and dimentions. + * copying position and dimensions. * @param {Element} from * @param {Element} to */ @@ -238,7 +239,7 @@ * Easy styling and uploading * @constructor * @param button An element you want convert to - * upload button. Tested dimentions up to 500x500px + * upload button. Tested dimensions up to 500x500px * @param {Object} options See defaults below. */ window.AjaxUpload = function(button, options){ @@ -380,7 +381,8 @@ 'cursor' : 'pointer' }); - var div = document.createElement("div"); + var div = document.createElement("div"); + div.setAttribute('class', 'ajaxbutton-wrapper'); addStyles(div, { 'display' : 'block', 'position' : 'absolute', @@ -701,3 +703,4 @@ } }; })(); +// @license-end