Add matrix link and fix help button

This commit is contained in:
Ajay Ramachandran
2020-12-12 19:07:15 -05:00
parent 637dcbee00
commit a150a97991
3 changed files with 7 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
case "openConfig":
chrome.runtime.openOptionsPage();
return;
case "openHelp":
window.open(chrome.runtime.getURL('help/index_en.html'));
return;
case "sendRequest":
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {
callback({

View File

@@ -830,7 +830,7 @@ async function runThePopup(messageListener?: MessageListener) {
}
function openHelp() {
window.open(chrome.runtime.getURL('help/index_en.html'));
chrome.runtime.sendMessage({"message": "openHelp"});
}
//make the options username setting option visible