Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-26 10:00:41 +01:00
parent 591efd060d
commit 9282827428
1 changed files with 2 additions and 3 deletions

View File

@ -734,12 +734,11 @@ class EditUsers {
mention.style.setProperty("background", color1 ? "rgba(" + color1[0] + "," + color1[1] + "," + color1[2] + ",.1)" : null, "important");
}
function colorHover() {
mention.style.setProperty("color", "#FFFFFF", "important");
mention.style.setProperty("background", "rgba(" + color1[0] + "," + color1[1] + "," + color1[2] + ",.7)", "important");
mention.style.setProperty("color", color1 ? "#FFFFFF" : null, "important");
mention.style.setProperty("background", color1 ? "rgba(" + color1[0] + "," + color1[1] + "," + color1[2] + ",.7)" : null, "important");
}
}
changeVoiceUser (info, username) {
if (!info || !username || !username.parentElement) return;
let data = BDFDB.loadData(info.id, this, "users") || {};