mirror of
https://github.com/liriliri/eruda.git
synced 2026-05-20 08:47:20 +08:00
Fix: Empty stylesheet error.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eruda",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "Console for mobile JavaScript",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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