X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fajaxupload.js;h=67c4a56fb7fb882b39f3a57f9b625a15171dbf6f;hb=7d455a039552049de82704a20ccda9fe05c173d4;hp=f0fbfe6c294433564544d8143b3b920f90cb8d8a;hpb=88bfe21bead769c3ba81e181b79f9d6426ace351;p=friendica.git diff --git a/include/ajaxupload.js b/include/ajaxupload.js index f0fbfe6c29..67c4a56fb7 100644 --- a/include/ajaxupload.js +++ b/include/ajaxupload.js @@ -4,6 +4,7 @@ * Licensed under the MIT license ( http://valums.com/mit-license/ ) * Thanks to Gary Haran, David Mark, Corey Burns and others for contributions. */ + (function () { /* global window */ /* jslint browser: true, devel: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true */ @@ -162,6 +163,7 @@ height : from.offsetHeight + 'px' }); to.title = from.title; + } /** @@ -354,7 +356,7 @@ var input = document.createElement("input"); input.setAttribute('type', 'file'); input.setAttribute('name', this._settings.name); - + addStyles(input, { 'position' : 'absolute', // in Opera only 'browse' button @@ -382,7 +384,9 @@ // in Internet Explorer 'direction' : 'ltr', //Max zIndex supported by Opera 9.0-9.2 - 'zIndex': 2147483583 + 'zIndex': 2147483583, + 'cursor' : 'pointer' + }); // Make sure that element opacity exists.