mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Error handling, localstorage fix, styling, search stuff, boobs, fucks and colored people
This commit is contained in:
@@ -25,11 +25,13 @@ function fitToScreen()
|
||||
|
||||
function initSlider()
|
||||
{
|
||||
if(localStorage.getItem("volume") !== undefined)
|
||||
if(localStorage.volume)
|
||||
{
|
||||
vol = localStorage.getItem("volume");
|
||||
}else
|
||||
}else{
|
||||
vol = 100;
|
||||
localStorage.setItem("volume", vol);
|
||||
}
|
||||
$("#volume").slider({
|
||||
min: 0,
|
||||
max: 100,
|
||||
|
||||
Reference in New Issue
Block a user