1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

catch exceptions when trying to resolve element by id

This commit is contained in:
Kyle Spearrin
2017-03-31 08:32:59 -04:00
parent 622b337ee2
commit d6750cfd61
3 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,7 @@
!(function () {
// THIS FILE IS NOT CURRENTLY IN USE
// IT IS NOT LOADED IN THE MANIFEST
!(function () {
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
if (msg.command === 'openOverlayPopup') {
closePopup();