From 8bb100e09548e21bb2b4f93f08099c4e6175779c Mon Sep 17 00:00:00 2001 From: Jason Slavin Date: Mon, 26 Aug 2024 14:30:22 -0700 Subject: [PATCH] Some cleanup, additional tests --- head.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/head.html b/head.html index cda37e2..8b58588 100644 --- a/head.html +++ b/head.html @@ -12,14 +12,9 @@ return branch.includes('--') ? `https://${branch}.hlx.live/libs` : `https://${branch}--milo--adobecom.hlx.live/libs`; })(); - console.log('libs', libs); - const miloStyles = document.querySelector('#milo-stylesheet'); - miloStyles.setAttribute('href', `${libs}/styles/styles.css`); - const miloUtils = document.querySelector('#milo-utils'); - miloUtils.setAttribute('href', `${libs}/utils/utils.js`); - const miloDecorate = document.querySelector('#milo-decorate'); - miloDecorate.setAttribute('href', `${libs}/utils/decorate.js`); - console.log(miloStyles, miloDecorate, miloUtils) + document.querySelector('#milo-stylesheet').setAttribute('href', `${libs}/styles/styles.css`); + document.querySelector('#milo-utils').setAttribute('href', `${libs}/utils/utils.js`); + document.querySelector('#milo-decorate').setAttribute('href', `${libs}/utils/decorate.js`);