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:
@@ -65,11 +65,12 @@ main {
|
||||
}
|
||||
|
||||
nav .zbrand{
|
||||
max-width: 22%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
padding-left: 0;
|
||||
margin-left: -10px;
|
||||
max-width: 22%;
|
||||
min-width: 200px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
font-size: 30px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.fullwidth{
|
||||
@@ -237,6 +238,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
||||
}
|
||||
|
||||
.chan{
|
||||
padding-right:10px;
|
||||
text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.42);
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -111,6 +111,10 @@ $(document).keyup(function(e) {
|
||||
}
|
||||
});
|
||||
|
||||
function showSearch(){
|
||||
$("#search-wrapper").toggleClass("hide");
|
||||
$("#song-title").toggleClass("hide");
|
||||
}
|
||||
|
||||
function search(search_input){
|
||||
|
||||
|
||||
@@ -215,7 +215,7 @@ function getTitle(titt, v)
|
||||
|
||||
function errorHandler(newState)
|
||||
{
|
||||
socket.emit("end", video_id);
|
||||
socket.emit("skip");
|
||||
}
|
||||
|
||||
function onPlayerReady(event) {
|
||||
|
||||
Reference in New Issue
Block a user