aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2020-01-19 23:06:35 -0600
committerDavid Barksdale <amatus@amat.us>2020-01-19 23:06:35 -0600
commit4c4f4a5d0f458842bffbd1a12827e0296bea86c2 (patch)
treeadbfbda9a2a30936df7b071eeb77821972eb011f /src
parent421d0471e8b1a9bb21d6cd25892a3c2b3b8af5bc (diff)
Don't pre-render an error messageHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/hl/index.cljs.hl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hl/index.cljs.hl b/src/hl/index.cljs.hl
index be1d082..37a07b9 100644
--- a/src/hl/index.cljs.hl
+++ b/src/hl/index.cljs.hl
@@ -32,6 +32,8 @@
(defc browser-support
(cond
+ (not= -1 (.indexOf js/window.navigator.userAgent "PhantomJS"))
+ nil
(not (exists? js/MessageChannel))
"This website requires MessageChannel support. Try Chromium or Google Chrome."
(not (exists? js/SharedWorker))