De-inline CSS for the 'open file' button

This commit is contained in:
Tim van der Meij 2014-01-13 22:04:36 +01:00
parent f7a34df46d
commit e05bda4045
2 changed files with 4 additions and 2 deletions

View File

@ -1434,6 +1434,10 @@ canvas {
background: white;
color: black;
margin-top: 5px;
visibility: hidden;
position: fixed;
right: 0;
top: 0;
}
#PDFBug {

View File

@ -1572,8 +1572,6 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
fileInput.id = 'fileInput';
fileInput.className = 'fileInput';
fileInput.setAttribute('type', 'file');
fileInput.setAttribute('style',
'visibility: hidden; position: fixed; right: 0; top: 0');
fileInput.oncontextmenu = noContextMenuHandler;
document.body.appendChild(fileInput);