Fixed issue with navigating on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-06 17:17:30 +02:00
parent c8bfe33253
commit 2a8ee0673d

View File

@@ -531,7 +531,9 @@ var Channel = {
$("#seekToDuration").remove();
$(".sidenav").sidenav("destroy");
if(!client) {
$("#chan").tooltip("destroy");
if(!Helper.mobilecheck()) {
$("#chan").tooltip("destroy");
}
if(M.TapTarget.getInstance($(".tap-target"))) {
$('.tap-target').tapTarget('close');
}