From dec3f94f9dea42b28921b13ca12d3827c90cbf77 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Thu, 25 Mar 2021 14:45:33 +0000
Subject: [PATCH] refactor

---
 assets/js/variables.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/assets/js/variables.js b/assets/js/variables.js
index 4b450d5..933f86f 100644
--- a/assets/js/variables.js
+++ b/assets/js/variables.js
@@ -3,9 +3,9 @@
 const toggleId = 'toggle';
 const showId = 'show';
 const menu = 'menu';
-
-// defined in config.toml
-const rootURL = '{{ absURL "" }}';
+const rootURL = window.location.protocol + "//" + window.location.host;
+const searchFieldClass = '.search_field';
+const searchClass = '.search';
 
 // defined in i18n / translation files
 const quickLinks = '{{ T "quick_links" }}';

--
Gitblit v1.10.0