Update cookies.js

This commit is contained in:
Kyle
2020-07-06 17:42:07 -07:00
parent e0417541b4
commit e251f67ccc

View File

@@ -24,7 +24,7 @@ function getCookie(cookieName) {
function checkCookies() {
var colorPaletteCookie = getCookie('colorPalette')
if (colorPaletteCookie != undefined && colorPaletteCookie != '') {
loadScript('data/scripts/palettes/' + colorPaletteCookie + '.js')
loadScript('/data/scripts/palettes/' + colorPaletteCookie + '.js')
setTimeout(function() {
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
}, 1000)