Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-24 16:29:33 +01:00
parent ec13d5c5d0
commit a4188352d5
1 changed files with 3 additions and 4 deletions

View File

@ -17,15 +17,15 @@ class EditUsers {
};
this.css = `
.EditUsers-tag {
${BDFDB.dotCN.bottag} {
top: -4px;
position: relative;
margin-left: 1ch;
}
${BDFDB.dotCN.memberusername} ~ .EditUsers-tag {
${BDFDB.dotCN.memberusername} ~ ${BDFDB.dotCN.bottag} {
top: 0px;
}
${BDFDB.dotCN.messagegroupcompact} .EditUsers-tag {
${BDFDB.dotCN.messagegroupcompact} ${BDFDB.dotCN.bottag} {
margin-right: 6px;
}`;
@ -196,7 +196,6 @@ class EditUsers {
let module = BDFDB.WebModules.findByName(type);
if (module && module.prototype) BDFDB.WebModules.patch(module.prototype, this.moduleTypes[type], this, {after: (e) => {this.initiateProcess(e.thisObject, type);}});
}
BDFDB.WebModules.patch(BDFDB.WebModules.findByProperties("AvatarWrapper").default, "default", this, {after: (e) => {this.initiateProcess(e.thisObject, "Avatar");}});
this.RelationshipUtils = BDFDB.WebModules.findByProperties("isBlocked", "isFriend");
this.UserUtils = BDFDB.WebModules.findByProperties("getUsers","getUser");