mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-05 10:28:34 +08:00
Fix: Empty stylesheet error.
This commit is contained in:
@@ -46,6 +46,8 @@ export default class CssStore
|
||||
|
||||
util.each(document.styleSheets, (styleSheet) =>
|
||||
{
|
||||
if (!styleSheet.cssRules) return;
|
||||
|
||||
util.each(styleSheet.cssRules, (cssRule) =>
|
||||
{
|
||||
var matchesEl = false;
|
||||
|
||||
Reference in New Issue
Block a user