From 4c16c503a66df20bff2d6a715dd78e4fa15f2da0 Mon Sep 17 00:00:00 2001 From: s-ol Date: Fri, 11 Oct 2019 15:21:48 +0200 Subject: fix #inspect links --- mmm/mmmfs/browser.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmm/mmmfs/browser.moon b/mmm/mmmfs/browser.moon index a0c5541..7e768bd 100644 --- a/mmm/mmmfs/browser.moon +++ b/mmm/mmmfs/browser.moon @@ -91,7 +91,7 @@ class Browser @skip = nil -- whether inspect tab is active - @inspect = ReactiveVar (MODE == 'CLIENT' and window.location.search\match '[?&]inspect') + @inspect = ReactiveVar (MODE == 'CLIENT' and window.location.hash == '#inspect') -- retrieve or create the wrapper and main elements main = get_or_create 'div', 'browser-root', class: 'main view' -- cgit v1.2.3