Move missingFeature to initToggle in webext

This commit is contained in:
Arlo Breault 2019-09-25 21:33:57 -04:00
parent 3c28380bc6
commit 19bc6d8858
2 changed files with 44 additions and 49 deletions

View file

@ -19,7 +19,7 @@ port.onMessage.addListener((m) => {
popup.setEnabled(false);
popup.setActive(false);
popup.setStatusText(chrome.i18n.getMessage('popupStatusOff'));
popup.setStatusDesc(chrome.i18n.getMessage('popupWebRTCOff'), true);
popup.setStatusDesc(chrome.i18n.getMessage(missingFeature), true);
popup.hideButton();
return;
}