diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-10-08 04:32:03 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-10-11 09:38:33 +0300 |
commit | a0df8aa6d40ab7b1e96dafd93a197c6859580454 (patch) | |
tree | 0d1ca583a4ea9cbb2112a114b66698e3a3ed9358 /docs/_layouts | |
parent | f6050df80182f7bfc55e5f2df7c715969a1cb67d (diff) | |
download | inter-a0df8aa6d40ab7b1e96dafd93a197c6859580454.tar.xz |
website: big update with samples and vf stuff
Diffstat (limited to 'docs/_layouts')
-rw-r--r-- | docs/_layouts/default.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index dbd245320..90ed32bf5 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -59,6 +59,13 @@ endfor <meta property="og:type" content="product"> <meta property="og:locale" content="en_US" /> </head> + <script> +(function(u){ +if (u.indexOf('Safari/') != -1 && u.indexOf('Chrome/') == -1 && u.indexOf('Chromium/') == -1) { + document.documentElement.classList.add('safari') +} +})(navigator.userAgent); + </script> <body> <div id="hud-notification"><div class="msg">Hello</div></div> <script src="{{url_root}}res/base.js?v={{ base_js_v }}"></script> |