mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update cookies.js
This commit is contained in:
@@ -22,6 +22,7 @@ function getCookie(cookieName) {
|
||||
function checkCookies() {
|
||||
if (getCookie('colorPalette') != undefined) {
|
||||
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
||||
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
||||
}
|
||||
}
|
||||
checkCookies()
|
||||
|
Reference in New Issue
Block a user