mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
life
This commit is contained in:
@@ -213,4 +213,13 @@ function updateColorSelector() {
|
||||
}
|
||||
function updateBackgroundColor(color) {
|
||||
playerList[parseInt(document.getElementById("inputPlayer").value) - 1].canvas.customVarColor = color
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Wake lock!
|
||||
var noSleep = new NoSleep();
|
||||
function enableNoSleep() {
|
||||
noSleep.enable();
|
||||
document.removeEventListener('touchstart', enableNoSleep, false);
|
||||
}
|
||||
document.addEventListener('touchstart', enableNoSleep, false);
|
Reference in New Issue
Block a user