close #215 catch delete rule errors
This commit is contained in:
@@ -715,7 +715,13 @@ export class Replayer {
|
|||||||
|
|
||||||
if (d.removes) {
|
if (d.removes) {
|
||||||
d.removes.forEach(({ index }) => {
|
d.removes.forEach(({ index }) => {
|
||||||
styleSheet.deleteRule(index);
|
try {
|
||||||
|
styleSheet.deleteRule(index);
|
||||||
|
} catch (e) {
|
||||||
|
/**
|
||||||
|
* same as insertRule
|
||||||
|
*/
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user