Moves all document.getElementById lookups into viewer.js

This commit is contained in:
Yury Delendik 2016-04-21 11:39:11 -05:00
parent d5c000850a
commit b6c74f2056
9 changed files with 233 additions and 165 deletions

View file

@ -212,7 +212,9 @@
}
if (!chromeFileAccessOverlayPromise) {
chromeFileAccessOverlayPromise = OverlayManager.register(
'chromeFileAccessOverlay', onCloseOverlay, true);
'chromeFileAccessOverlay',
document.getElementById('chromeFileAccessOverlay'),
onCloseOverlay, true);
}
chromeFileAccessOverlayPromise.then(function() {
var iconPath = chrome.runtime.getManifest().icons[48];