diff --git a/beers-law-lab_en.html b/beers-law-lab_en.html index 8f4f7821..53f63373 100644 --- a/beers-law-lab_en.html +++ b/beers-law-lab_en.html @@ -81,10 +81,6 @@ const brandMatch = location.search.match( /brand=([^&]+)/ ); const brand = brandMatch ? decodeURIComponent( brandMatch[ 1 ] ) : 'adapted-from-phet'; - // Cache busting is applied by default, but can be disabled via ?cacheBust=false, see initialize-globals.js - const isCacheBustDisabled = /(^|\?|&)cacheBust=false/.test( location.search ); - const queryAppend = isCacheBustDisabled ? '' : `?bust=${Date.now()}`; - // Preloads, with more included for phet-io brand let preloads = [ '../sherpa/lib/mdn-array-from-polyfill.js', @@ -123,7 +119,7 @@ const loadURL = ( preloadURL, type = 'text/javascript' ) => { const script = document.createElement( 'script' ); script.type = type; - script.src = preloadURL + queryAppend; + script.src = preloadURL; script.async = false; document.head.appendChild( script ); };