Updated for latest Discord version
This commit is contained in:
parent
849c139124
commit
ef3d2ad9b1
|
@ -14,12 +14,13 @@ dblClickEdit.prototype.start = function () {
|
||||||
var opt = msg.find(".btn-option");
|
var opt = msg.find(".btn-option");
|
||||||
opt.click();
|
opt.click();
|
||||||
|
|
||||||
var popout = $(".option-popout");
|
$.each($(".popout .btn-item"), (index, value) => {
|
||||||
if(popout.children().length == 2) {
|
var option = $(value);
|
||||||
popout.children().first().click();
|
if(option.text() === "Edit") {
|
||||||
} else {
|
option.click();
|
||||||
popout.hide();
|
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue