Skip to content

Commit

Permalink
fix: css format
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-939248N\apple committed May 21, 2021
1 parent 4deceff commit 4a70a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const getWholeCss = () => {
let myRules = document.styleSheets[styleIndex].cssRules; // Returns a CSSRuleList

for (let rule of myRules) {
stylesheetCSS.push(rule.cssText.replace(/\n/g, ''));
stylesheetCSS.push(rule.cssText.replace(/\\n/g, ''));
}
} else
hasChange = false;
Expand Down

0 comments on commit 4a70a7f

Please sign in to comment.