hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit ad0dc53724ba54c4439530c2b523ef21b2e66c67
parent 5dc281e0bd2d8c4ea2f35d64125b293410b2ab1d
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri,  1 Oct 2021 19:06:56 -0400

Delete a js

Diffstat:
Dsrc/js/cutting-the-mustard.js | 20--------------------
1 file changed, 0 insertions(+), 20 deletions(-)

diff --git a/src/js/cutting-the-mustard.js b/src/js/cutting-the-mustard.js @@ -1,20 +0,0 @@ -(function () { - 'use strict'; - let ux_css; - - /* If the browser is for HTML5 then */ - if('querySelector' in document - && 'localStorage' in window - && 'addEventListener' in window) { - /* UX CSS */ - ux_css = document.createElement('link'); - ux_css.href = '/css/ux.min.css'; - ux_css.id = 'ux_css'; - ux_css.media = 'screen and (min-width: 20rem)'; - ux_css.rel = 'stylesheet'; - ux_css.type = 'text/css'; - - /* Insert the `ux_css` element */ - document.getElementById('ui_css').insertAdjacentElement('afterend', ux_css); - } -})();