mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
Update cookies.js
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user