Fix: remove outdated FIXME. styleInjector.toggle now toggle all styles
This commit is contained in:
parent
788085d376
commit
a7ffc9d477
|
@ -216,8 +216,6 @@ const APPLY = (() => {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'styleUpdated':
|
case 'styleUpdated':
|
||||||
// FIXME: should we use `styleInjector.toggle` when
|
|
||||||
// `request.codeIsUpdated === false`?
|
|
||||||
if (request.style.enabled) {
|
if (request.style.enabled) {
|
||||||
API.getSectionsByUrl(getMatchUrl(), request.style.id)
|
API.getSectionsByUrl(getMatchUrl(), request.style.id)
|
||||||
.then(sections => {
|
.then(sections => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user