mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
mobile
This commit is contained in:
@@ -22,6 +22,9 @@ 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')
|
||||||
|
setTimeout(function() {
|
||||||
|
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
||||||
|
}, 1000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
checkCookies()
|
checkCookies()
|
||||||
@@ -33,4 +36,4 @@ function loadScript(scriptPath){
|
|||||||
if (typeof script != 'undefined') {
|
if (typeof script != 'undefined') {
|
||||||
document.getElementsByTagName('head')[0].appendChild(script)
|
document.getElementsByTagName('head')[0].appendChild(script)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1686,9 +1686,8 @@ Sortable.prototype =
|
|||||||
|
|
||||||
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
|
||||||
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
|
||||||
console.log(ghostRelativeParent, container, this)
|
|
||||||
//rect.top += ghostRelativeParent.scrollTop;
|
//rect.top += ghostRelativeParent.scrollTop;
|
||||||
//rect.left += ghostRelativeParent.scrollLeft;
|
//rect.left += ghostRelativeParent.scrollLeft; /*These don't work with my iPhone for some reason? -Kyle*/
|
||||||
} else {
|
} else {
|
||||||
ghostRelativeParent = getWindowScrollingElement();
|
ghostRelativeParent = getWindowScrollingElement();
|
||||||
}
|
}
|
||||||
|
@@ -259,9 +259,6 @@
|
|||||||
<option value='nightRave'>Night Rave</option>
|
<option value='nightRave'>Night Rave</option>
|
||||||
<option value='scholarMode'>Scholar Mode</option>
|
<option value='scholarMode'>Scholar Mode</option>
|
||||||
</select>
|
</select>
|
||||||
<script>
|
|
||||||
document.getElementById('inputColorPalette').value = getCookie('colorPalette')
|
|
||||||
</script>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
Navigation<br>
|
Navigation<br>
|
||||||
|
Reference in New Issue
Block a user