Update 0BDFDB.plugin.js
This commit is contained in:
parent
2e3d2f1549
commit
8c2e84b13a
|
@ -1551,6 +1551,7 @@ module.exports = (_ => {
|
||||||
var Tooltips = [];
|
var Tooltips = [];
|
||||||
BDFDB.TooltipUtils = {};
|
BDFDB.TooltipUtils = {};
|
||||||
BDFDB.TooltipUtils.create = function (anker, text, config = {}) {
|
BDFDB.TooltipUtils.create = function (anker, text, config = {}) {
|
||||||
|
if (!text && !config.guild) return null;
|
||||||
let itemLayerContainer = document.querySelector(BDFDB.dotCN.appmount + " > " + BDFDB.dotCN.itemlayercontainer);
|
let itemLayerContainer = document.querySelector(BDFDB.dotCN.appmount + " > " + BDFDB.dotCN.itemlayercontainer);
|
||||||
if (!itemLayerContainer || !Node.prototype.isPrototypeOf(anker) || !document.contains(anker)) return null;
|
if (!itemLayerContainer || !Node.prototype.isPrototypeOf(anker) || !document.contains(anker)) return null;
|
||||||
let id = BDFDB.NumberUtils.generateId(Tooltips);
|
let id = BDFDB.NumberUtils.generateId(Tooltips);
|
||||||
|
|
Loading…
Reference in New Issue