Skip to content
Permalink
Browse files

Update guilds selectors

  • Loading branch information...
timothy003 committed Mar 21, 2019
1 parent 52b03db commit 47128036ac8b15f45a8e282fd93698933fcfba6e
Showing with 10 additions and 10 deletions.
  1. +6 −6 static/mobilediscord.css
  2. +4 −4 static/mobilediscord.js
@@ -91,7 +91,7 @@
background-color: rgb(234, 235, 235);
}

.guilds-1q_RqH {
.scroller-2TZvBN {
background-color: #202225;
}

@@ -1024,12 +1024,12 @@ body {

/* guilds */

.guildsWrapper-5TJh6A {
border-radius: 0;
.md-app .downloadAppButton-3FZHkU {
display: none;
}

.md-app .downloadAppButton-3EFlA6 {
display: none;
.wrapper-1Rf91z {
z-index: 0;
}

/* user settings */
@@ -1346,7 +1346,7 @@ body {
contain: content;
}

.guildsWrapper-5TJh6A {
.wrapper-1Rf91z {
scroll-snap-coordinate: 0% 0%;
scroll-snap-align: start;
}
@@ -734,10 +734,10 @@ mdLocalStorage.token;
return;
const element = event.target;
// animate guild navigation
if (element.closest(".guild-1EfMGQ .guildInner-3DSoA4 a")) {
if (!element.closest(".guild-1EfMGQ.selected-ML3OIq")) {
if (element.closest(".wrapper-2lTRaf a")) {
if (!element.closest(".selected-nT-gM3")) {
let channels = null;
if (!element.closest(".guild-1EfMGQ.selected-ML3OIq ~ .dms-rcsEnV"))
if (!(element.closest(".container-1aNBdK") && document.querySelector(".privateChannels-1nO12o")))
channels = document.querySelector(".scroller-2wx7Hm, .privateChannels-1nO12o .scroller-2FKFPG");
const chat = document.querySelector(
".messagesWrapper-3lZDfY," +
@@ -841,7 +841,7 @@ mdLocalStorage.token;
".wrapperMutedText-1YBpvv," +
".wrapperSelectedText-3dSUjC," +
".wrapperUnreadText-2zuiuD," +
".dms-rcsEnV a," +
".container-1aNBdK a," +
".channel-2QD9_O a," +
".channelName-3kBz6H," +
".actionButtons-1sUUug .jumpButton-3DTcS_," +

0 comments on commit 4712803

Please sign in to comment.
You can’t perform that action at this time.