mirror of
https://github.com/Davilarek/Vencord.git
synced 2025-05-11 01:45:39 +02:00
Define a dynamic getter instead of static one
This commit is contained in:
parent
b0f959d798
commit
4525b87d6b
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ define(Function.prototype, "m", {
|
|||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
get: definition[key],
|
||||
get: () => definition[key](),
|
||||
set: v => { definition[key] = () => v; },
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue