Remove outline on hidden input in smart upload button
This commit is contained in:
parent
2358a0d807
commit
8ee53e5f1c
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function kolab_files_upload_input(button)
|
|||
file.attr({name: 'file[]', type: 'file', multiple: 'multiple', size: 5})
|
||||
.change(function() { rcmail.files_upload('#filesuploadform'); })
|
||||
// opacity:0 does the trick, display/visibility doesn't work
|
||||
.css({opacity: 0, cursor: 'pointer', position: 'absolute', top: '10000px', left: '10000px'});
|
||||
.css({opacity: 0, cursor: 'pointer', outline: 'none', position: 'absolute', top: '10000px', left: '10000px'});
|
||||
|
||||
// In FF and IE we need to move the browser file-input's button under the cursor
|
||||
// Thanks to the size attribute above we know the length of the input field
|
||||
|
|
Loading…
Add table
Reference in a new issue