correct element

This commit is contained in:
Jiiks 2015-10-25 19:40:13 +02:00
parent 0fb9816490
commit 2e77c598a1
2 changed files with 4 additions and 4 deletions

View File

@ -645,7 +645,7 @@ function VoiceMode() {
VoiceMode.prototype.enable = function() {
$($(".scroller.guild-channels ul")[0]).css("display", "none");
$($(".scroller.guild-channels header")[0]).css("display", "none");
$($(".flex-horizontal.flex-spacer")[0]).css("overflow", "hidden");
$($(".flex-vertical.flex-spacer")[0]).css("overflow", "hidden");
$($(".chat.flex-vertical.flex-spacer")[0]).css("visibility", "hidden");
$($(".chat.flex-vertical.flex-spacer")[0]).css("min-width", "0px");
$($(".flex-vertical.channels-wrap")[0]).css("width", "100%");
@ -656,7 +656,7 @@ VoiceMode.prototype.enable = function() {
VoiceMode.prototype.disable = function() {
$($(".scroller.guild-channels ul")[0]).css("display", "");
$($(".scroller.guild-channels header")[0]).css("display", "");
$($(".flex-horizontal.flex-spacer")[0]).css("overflow", "");
$($(".flex-vertical.flex-spacer")[0]).css("overflow", "");
$($(".chat.flex-vertical.flex-spacer")[0]).css("visibility", "");
$($(".chat.flex-vertical.flex-spacer")[0]).css("min-width", "");
$($(".flex-vertical.channels-wrap")[0]).css("width", "");

View File

@ -12,7 +12,7 @@ function VoiceMode() {
VoiceMode.prototype.enable = function() {
$($(".scroller.guild-channels ul")[0]).css("display", "none");
$($(".scroller.guild-channels header")[0]).css("display", "none");
$($(".flex-horizontal.flex-spacer")[0]).css("overflow", "hidden");
$($(".flex-vertical.flex-spacer")[0]).css("overflow", "hidden");
$($(".chat.flex-vertical.flex-spacer")[0]).css("visibility", "hidden");
$($(".chat.flex-vertical.flex-spacer")[0]).css("min-width", "0px");
$($(".flex-vertical.channels-wrap")[0]).css("width", "100%");
@ -23,7 +23,7 @@ VoiceMode.prototype.enable = function() {
VoiceMode.prototype.disable = function() {
$($(".scroller.guild-channels ul")[0]).css("display", "");
$($(".scroller.guild-channels header")[0]).css("display", "");
$($(".flex-horizontal.flex-spacer")[0]).css("overflow", "");
$($(".flex-vertical.flex-spacer")[0]).css("overflow", "");
$($(".chat.flex-vertical.flex-spacer")[0]).css("visibility", "");
$($(".chat.flex-vertical.flex-spacer")[0]).css("min-width", "");
$($(".flex-vertical.channels-wrap")[0]).css("width", "");