diff options
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> |