Browse Source

Merge pull request #4121 from timvandermeij/open-button-b2g

Prevent the open file button from appearing in the B2G viewer/preview
Yury Delendik 11 years ago
parent
commit
dabafb8444
  1. 2
      web/viewer.js

2
web/viewer.js

@ -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…
Cancel
Save