Merge pull request #4121 from timvandermeij/open-button-b2g
Prevent the open file button from appearing in the B2G viewer/preview
This commit is contained in:
commit
dabafb8444
@ -1567,7 +1567,7 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
|
|||||||
//}
|
//}
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
//#if !(FIREFOX || MOZCENTRAL || CHROME)
|
//#if !(FIREFOX || MOZCENTRAL || CHROME || B2G)
|
||||||
var fileInput = document.createElement('input');
|
var fileInput = document.createElement('input');
|
||||||
fileInput.id = 'fileInput';
|
fileInput.id = 'fileInput';
|
||||||
fileInput.className = 'fileInput';
|
fileInput.className = 'fileInput';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user