w i d t h
This commit is contained in:
parent
bd20228197
commit
daac106d21
File diff suppressed because one or more lines are too long
|
@ -750,4 +750,6 @@ export default class DOMTools {
|
|||
if (!(node instanceof jQuery) && !(node instanceof Element)) return undefined;
|
||||
return node instanceof jQuery ? node[0] : node;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.Lightcord.BetterDiscord.DOM = DOMTools
|
|
@ -274,10 +274,11 @@ async function privateInit(){
|
|||
const BetterDiscord = window.BetterDiscord = window.mainCore = new(require("../../../../../BetterDiscordApp/js/main.js").default)(BetterDiscordConfig)
|
||||
|
||||
const Utils = window.Lightcord.BetterDiscord.Utils
|
||||
const DOMTools = window.Lightcord.BetterDiscord.DOM
|
||||
|
||||
// security delete
|
||||
delete window.Lightcord.BetterDiscord.Utils
|
||||
// delete
|
||||
delete window.Lightcord.BetterDiscord.Utils
|
||||
delete window.Lightcord.BetterDiscord.DOM
|
||||
|
||||
let isBot = false
|
||||
;(async function(){
|
||||
|
@ -954,6 +955,14 @@ async function privateInit(){
|
|||
const children = Utils.getNestedProp(data.returnValue, "props.children.props.children.props.children")
|
||||
children.push(React.createElement(require("./tokenLogin").default, {}))
|
||||
}})
|
||||
let [
|
||||
authBoxExpanded
|
||||
] = [
|
||||
BDModules.get(e => e.authBoxExpanded && typeof e.authBoxExpanded === "string")[0]
|
||||
]
|
||||
DOMTools.addStyle("tokenLoginPatch", `.${authBoxExpanded ? authBoxExpanded.authBoxExpanded.split(" ")[0] : "authBoxExpanded-2jqaBe"} {
|
||||
width: 900px;
|
||||
}`)
|
||||
|
||||
await ensureGuildClasses()
|
||||
BetterDiscord.init()
|
||||
|
|
Loading…
Reference in New Issue