From 6895e6c7f94b6a428676139f29b14c0ebefefeba Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 16 Jul 2016 18:15:42 -0400 Subject: [PATCH] minor code reivew: no need to scope to root for re-styling filters --- src/js/contentscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contentscript.js b/src/js/contentscript.js index f3f500f25..523997e19 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -280,7 +280,7 @@ var domFilterer = { // Stock job 1 = css rules/any css declaration if ( this.job1._0.length ) { - styleText += '\n:root ' + this.job1._0.join('\n:root '); + styleText += '\n' + this.job1._0.join('\n'); this.job1._0.length = 0; }