mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
mobile
This commit is contained in:
@@ -22,6 +22,9 @@ function getCookie(cookieName) {
|
||||
function checkCookies() {
|
||||
if (getCookie('colorPalette') != undefined) {
|
||||
loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js')
|
||||
setTimeout(function() {
|
||||
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
checkCookies()
|
||||
@@ -33,4 +36,4 @@ function loadScript(scriptPath){
|
||||
if (typeof script != 'undefined') {
|
||||
document.getElementsByTagName('head')[0].appendChild(script)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user