From f819aa3afea420925fe4c91a71a2756d5ed04b80 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 14 Sep 2021 13:34:19 +0530 Subject: qutebrowser config save --- config/qutebrowser/homepage/index.html | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) (limited to 'config/qutebrowser/homepage') diff --git a/config/qutebrowser/homepage/index.html b/config/qutebrowser/homepage/index.html index 0578cb0..0794c1d 100644 --- a/config/qutebrowser/homepage/index.html +++ b/config/qutebrowser/homepage/index.html @@ -36,10 +36,7 @@ children.forEach($ch => $el.appendChild($ch)); return $el; }; - const text = str => { - const $t = document.createTextNode(str); - return $t; - }; + const text = str => document.createTextNode(str); const render = ($el, $tree) => { while($el.firstChild) $el.removeChild($el.firstChild); $el.appendChild($tree); @@ -111,28 +108,24 @@