This commit is contained in:
Mirco Wittrien 2018-12-10 14:03:19 +01:00
parent 4353f73c2c
commit 521c275709
6 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -123,7 +123,7 @@ class CreationDate {
(change, i) => {
if (change.addedNodes) {
change.addedNodes.forEach((node) => {
if (node.tagName && node.querySelector("[class*='topSection']")) {
if (node.tagName && node.querySelector(BDFDB.dotCN.userprofile)) {
if (BDFDB.getData("addInUserProfil", this, "settings")) this.addCreationDate(node.querySelector(BDFDB.dotCN.userprofileheaderinfo), null);
}
});

View File

@ -419,7 +419,7 @@ class EditUsers {
(change, i) => {
if (change.addedNodes) {
change.addedNodes.forEach((node) => {
if (node.tagName && node.querySelector("[class*='topSection']") && BDFDB.getData("changeInUserProfil", this, "settings")) {
if (node.tagName && node.querySelector(BDFDB.dotCN.userprofile) && BDFDB.getData("changeInUserProfil", this, "settings")) {
this.loadUser(node.querySelector("[class*='topSection']"), "profil", false);
}
});

View File

@ -129,7 +129,7 @@ class JoinedAtDate {
(change, i) => {
if (change.addedNodes) {
change.addedNodes.forEach((node) => {
if (node.tagName && node.querySelector("[class*='topSection']")) {
if (node.tagName && node.querySelector(BDFDB.dotCN.userprofile)) {
if (BDFDB.getData("addInUserProfil", this, "settings")) this.addJoinedAtDate(node.querySelector(BDFDB.dotCN.userprofileheaderinfo), null);
}
});

View File

@ -83,7 +83,7 @@ module.exports = (Plugin, Api, Vendor) => {
(change, i) => {
if (change.addedNodes) {
change.addedNodes.forEach((node) => {
if (node && node.tagName && node.querySelector("[class*='topSection']")) {
if (node && node.tagName && node.querySelector(BDFDB.dotCN.userprofile)) {
if (BDFDB.getData("addInUserProfil", this, "settings")) this.addCreationDate(node.querySelector(BDFDB.dotCN.userprofileheaderinfo));
}
});

View File

@ -393,7 +393,7 @@ module.exports = (Plugin, Api, Vendor) => {
(change, i) => {
if (change.addedNodes) {
change.addedNodes.forEach((node) => {
if (node.tagName && node.querySelector("[class*='topSection']") && BDFDB.getData("changeInUserProfil", this, "settings")) {
if (node.tagName && node.querySelector(BDFDB.dotCN.userprofile) && BDFDB.getData("changeInUserProfil", this, "settings")) {
this.loadUser(node.querySelector("[class*='topSection']"), "profil", false);
}
});