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:
@@ -22,6 +22,7 @@ function getCookie(cookieName) {
|
|||||||
function checkCookies() {
|
function checkCookies() {
|
||||||
if (getCookie('colorPalette') != undefined) {
|
if (getCookie('colorPalette') != undefined) {
|
||||||
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
||||||
|
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
checkCookies()
|
checkCookies()
|
||||||
|
Reference in New Issue
Block a user