mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update cookies.js
This commit is contained in:
@@ -24,7 +24,7 @@ function getCookie(cookieName) {
|
|||||||
function checkCookies() {
|
function checkCookies() {
|
||||||
var colorPaletteCookie = getCookie('colorPalette')
|
var colorPaletteCookie = getCookie('colorPalette')
|
||||||
if (colorPaletteCookie != undefined && colorPaletteCookie != '') {
|
if (colorPaletteCookie != undefined && colorPaletteCookie != '') {
|
||||||
loadScript('data/scripts/palettes/' + colorPaletteCookie + '.js')
|
loadScript('/data/scripts/palettes/' + colorPaletteCookie + '.js')
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
Reference in New Issue
Block a user