From 0a7bc259d8f237214c39ccb5d45ff4e8d0d72aa6 Mon Sep 17 00:00:00 2001 From: DatDamnZotz Date: Wed, 6 May 2020 11:47:33 -0600 Subject: [PATCH] Fix for homebrew not being loaded. --- src/clj/orcpub/index.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/orcpub/index.clj b/src/clj/orcpub/index.clj index 995b39429..1e10cfadd 100644 --- a/src/clj/orcpub/index.clj +++ b/src/clj/orcpub/index.clj @@ -115,7 +115,8 @@ html, body, #app { (include-css "/font-awesome-4.7.0/css/font-awesome.min.css") (include-css "https://fonts.googleapis.com/css?family=Open+Sans") [:script - "if(plugins === null || plugins === '{}') + "let plugins = localStorage.getItem ('plugins'); + if(plugins === null || plugins === '{}') { fetch('https://' + window.location.host + '/homebrew.orcbrew') .then(resp => resp.text())