changeset 8:3ba8f54d018b

(none)
author Edho Arief <me@myconan.net>
date Wed, 08 Jul 2015 07:31:01 +0000
parents a33ed4ee7fa6
children eb671eacf461
files four-spaces-tabs.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/four-spaces-tabs.js	Wed Jul 08 07:26:08 2015 +0000
+++ b/four-spaces-tabs.js	Wed Jul 08 07:31:01 2015 +0000
@@ -9,5 +9,5 @@
 // ==/UserScript==
 
 ;(function() {
-  document.body.style.tabSize = 4;
+  CSSStyleSheet.insertRule("* { tab-size: 4; }", 0);
 }).call();
\ No newline at end of file