This commit is contained in:
Mirco Wittrien 2019-11-25 21:06:05 +01:00
parent 0da7a7c760
commit 2b05eb012d
2 changed files with 4 additions and 1 deletions

View File

@ -6796,6 +6796,9 @@ var BDFDB = {
setRef(e) {
if (typeof this.props.setRef == "function") this.props.setRef(this.props.guild.id, e)
}
componentDidMount() {
for (let child of BDFDB.ReactUtils.findDOMNode(this).querySelectorAll("a")) child.setAttribute("draggable", false);
}
render() {
if (!this.props.guild) return null;
this.props.selectedChannelId = LibraryModules.LastChannelStore.getChannelId(this.props.guild.id);

File diff suppressed because one or more lines are too long