|
@@ -1980,7 +1980,7 @@ function onPageVisbile() {
|
|
|
|
|
|
function onRuntimeMsg() {
|
|
|
chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
|
|
|
- sendResponse(res.actionType || 'ok');
|
|
|
+ sendResponse(req.actionType || 'ok');
|
|
|
switch (req.actionType) {
|
|
|
case 'BACK_DISCORD_LOGIN_SUCCESS':
|
|
|
discordLoginSuccess();
|