there's only one sidebar_open
This commit is contained in:
parent
0ba207623d
commit
1a54f1c7a9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export default class ManagedSidebar {
|
||||||
static manage() {
|
static manage() {
|
||||||
chrome.runtime.onMessage.addListener(
|
chrome.runtime.onMessage.addListener(
|
||||||
function(request, sender, sendResponse) {
|
function(request, sender, sendResponse) {
|
||||||
if (request.action.includes("sidebar_open")) {
|
if (request.action == "sidebar_open") {
|
||||||
ManagedSidebar.enable();
|
ManagedSidebar.enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue