mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge pull request #303 from zoff-music/fix/hostcontroller
Possible fix for remotecontroller not being enabled
This commit is contained in:
@@ -86,7 +86,7 @@ var Channel = {
|
|||||||
Channel.set_title_width();
|
Channel.set_title_width();
|
||||||
},
|
},
|
||||||
handles: "e",
|
handles: "e",
|
||||||
minWidth: 350,
|
minWidth: 280,
|
||||||
maxWidth: $(window).width()-241
|
maxWidth: $(window).width()-241
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ var Channel = {
|
|||||||
socket.emit("get_history", {channel: chan.toLowerCase(), all: false});
|
socket.emit("get_history", {channel: chan.toLowerCase(), all: false});
|
||||||
socket.emit("get_history", {channel: chan.toLowerCase(), all: true});
|
socket.emit("get_history", {channel: chan.toLowerCase(), all: true});
|
||||||
|
|
||||||
if(!Helper.mobilecheck() && $("#alreadychannel").length === 0) setup_host_initialization();
|
if(!Helper.mobilecheck() && ($("#alreadychannel").length === 0 || !Hostcontroller.old_id || $("#code-text").text().toUpperCase() == "ABBADUR")) setup_host_initialization();
|
||||||
|
|
||||||
if(!Helper.msieversion() && !Helper.mobilecheck()) Notification.requestPermission();
|
if(!Helper.msieversion() && !Helper.mobilecheck()) Notification.requestPermission();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user