mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-15 22:15:35 +00:00
Updated what to cache, and updated offline-page
This commit is contained in:
@@ -22,7 +22,7 @@ var autoplay = false;
|
||||
var connection_options = {
|
||||
'sync disconnect on unload':true,
|
||||
'secure': true,
|
||||
'force new connection': true
|
||||
'force new connection': true
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
@@ -40,7 +40,7 @@ $(document).ready(function(){
|
||||
socket = io.connect(''+add+':8880', connection_options);
|
||||
|
||||
socket.on("get_list", function(){
|
||||
setTimeout(function(){socket.emit('list', chan.toLowerCase())},1000);
|
||||
setTimeout(function(){socket.emit('list', chan.toLowerCase());},1000);
|
||||
});
|
||||
|
||||
socket.on("viewers", function(view)
|
||||
@@ -85,4 +85,4 @@ $(document).on( "click", "#zoffbutton", function(e){
|
||||
$(document).on( "click", ".vote-container", function(e){
|
||||
var id = $(this).attr("data-video-id");
|
||||
List.vote(id, "pos");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user