Skip to content

Commit

Permalink
fix(utils): dom not writeable
Browse files Browse the repository at this point in the history
  • Loading branch information
weiz18 committed Apr 8, 2021
1 parent 491e618 commit 8775c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Methods = {
};

Object.keys(Methods).forEach((methodName) => {
Object.defineProperty($.fn, methodName, { value: Methods[methodName] });
Object.defineProperty($.fn, methodName, { value: Methods[methodName], writable: true });
});

export default $;

0 comments on commit 8775c1a

Please sign in to comment.