mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Cleaned up some code
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="no-padding">
|
||||
<li class="no-padding remote-panel">
|
||||
<ul class="collapsible collapsible-accordion">
|
||||
<li>
|
||||
<a class="collapsible-header bold waves-effect">Remote Control
|
||||
|
||||
@@ -763,6 +763,10 @@ ul #chat-log{
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.remote-panel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.navbar-fixed, #nav{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
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,19 +59,20 @@ $(document).ready(function()
|
||||
}
|
||||
Youtube.setup_youtube_listener(chan);
|
||||
Admin.admin_listener();
|
||||
Chat.setup_chat_listener(chan);
|
||||
Chat.allchat_listener();
|
||||
List.channel_listener();
|
||||
List.skipping_listener();
|
||||
Hostcontroller.host_listener();
|
||||
|
||||
//Materialize.toast("Passwords have been reset. If anything is not right, please send us a mail @ contact@zoff.no", 10000);
|
||||
$("#settings").sideNav({
|
||||
menuWidth: 300, // Default is 240
|
||||
edge: 'right', // Choose the horizontal origin
|
||||
closeOnClick: false // Closes side-nav on <a> clicks, useful for Angular/Meteor
|
||||
});
|
||||
|
||||
if(!window.mobilecheck())
|
||||
{
|
||||
Chat.setup_chat_listener(chan);
|
||||
Chat.allchat_listener();
|
||||
Hostcontroller.host_listener();
|
||||
$("#chat-btn").sideNav({
|
||||
menuWidth: 272, // Default is 240
|
||||
edge: 'left', // Choose the horizontal origin
|
||||
@@ -79,6 +80,9 @@ $(document).ready(function()
|
||||
});
|
||||
|
||||
$(".drag-target")[1].remove();
|
||||
}
|
||||
|
||||
//Materialize.toast("Passwords have been reset. If anything is not right, please send us a mail @ contact@zoff.no", 10000);
|
||||
|
||||
//$('#settings-close').sideNav('hide');
|
||||
|
||||
@@ -103,11 +107,6 @@ $(document).ready(function()
|
||||
socket.emit("password", [localStorage[chan.toLowerCase()], chan.toLowerCase()]);
|
||||
}
|
||||
|
||||
if($("#chan").html().toLowerCase() == "jazz")
|
||||
{
|
||||
//loadjsfile("static/js/jazzscript.js");
|
||||
//peis = true;
|
||||
}
|
||||
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