mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with login, and size of password field
This commit is contained in:
@@ -79,7 +79,7 @@ input[type=text]:focus:not([readonly]) + label, input[type=password]:focus:not([
|
||||
}
|
||||
|
||||
#password{
|
||||
width:70%;
|
||||
width:84%;
|
||||
margin-left:10px;
|
||||
}
|
||||
|
||||
|
||||
4
static/dist/main-min.js
vendored
4
static/dist/main-min.js
vendored
File diff suppressed because one or more lines are too long
@@ -59,6 +59,7 @@ var Admin = {
|
||||
|
||||
socket.on("pw", function(msg)
|
||||
{
|
||||
console.log("fuck");
|
||||
w_p = false;
|
||||
adminpass = msg;
|
||||
names=["vote","addsongs","longsongs","frontpage", "allvideos", "removeplay", "skip", "shuffle"];
|
||||
@@ -147,8 +148,7 @@ var Admin = {
|
||||
if(!Helper.contains($("#admin-lock").attr("class").split(" "), "mdi-action-lock"))
|
||||
$("#admin-lock").addClass("mdi-action-lock");
|
||||
$("#admin-lock").removeClass("mdi-action-lock-open clickable");
|
||||
}else
|
||||
$("#password").attr("placeholder", "Change channel password");
|
||||
}
|
||||
},
|
||||
|
||||
submitAdmin: function(form)
|
||||
|
||||
@@ -91,13 +91,6 @@ $(document).ready(function()
|
||||
Notification.requestPermission();
|
||||
}
|
||||
|
||||
if(window.mobilecheck()){
|
||||
document.getElementById("search").blur();
|
||||
Youtube.readyLooks();
|
||||
}else{
|
||||
Youtube.loadPlayer();
|
||||
window.onYouTubeIframeAPIReady = Youtube.onYouTubeIframeAPIReady;
|
||||
|
||||
if(localStorage[chan.toLowerCase()])
|
||||
{
|
||||
//localStorage.removeItem(chan.toLowerCase());
|
||||
@@ -107,6 +100,13 @@ $(document).ready(function()
|
||||
socket.emit("password", [localStorage[chan.toLowerCase()], chan.toLowerCase()]);
|
||||
}
|
||||
|
||||
if(window.mobilecheck()){
|
||||
document.getElementById("search").blur();
|
||||
Youtube.readyLooks();
|
||||
}else{
|
||||
Youtube.loadPlayer();
|
||||
window.onYouTubeIframeAPIReady = Youtube.onYouTubeIframeAPIReady;
|
||||
|
||||
if(navigator.userAgent.toLowerCase().indexOf("firefox") > -1) //quickdickfix for firefoxs weird percent handling
|
||||
$(".main").height(window.innerHeight-64);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user