mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removing listener on client move
This commit is contained in:
@@ -579,7 +579,7 @@ var Channel = {
|
|||||||
$('.tap-target-join').tapTarget('close');
|
$('.tap-target-join').tapTarget('close');
|
||||||
clearTimeout(tap_target_timeout);
|
clearTimeout(tap_target_timeout);
|
||||||
before_toast();
|
before_toast();
|
||||||
if(Helper.mobilecheck() || user_auth_avoid) {
|
if(Helper.mobilecheck() || user_auth_avoid || client) {
|
||||||
Helper.log(["Removing all listeners"]);
|
Helper.log(["Removing all listeners"]);
|
||||||
//socket.emit("change_channel");
|
//socket.emit("change_channel");
|
||||||
//removeAllListeners();
|
//removeAllListeners();
|
||||||
|
|||||||
Reference in New Issue
Block a user