Skip to content

Commit

Permalink
Defer initialization of MeerkatForms.init
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed Jun 8, 2024
1 parent 1dbbea4 commit f0f4762
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/dist/js/replies-to.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/js/replies-to.min.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion resources/ui/src/Site/replies.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,7 @@
}
};

MeerkatForms.init();
document.addEventListener('DOMContentLoaded', function () {
MeerkatForms.init();
});
})();
2 changes: 1 addition & 1 deletion src/Addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Addon

public const ADDON_ID = 'stillat/meerkat';

public const VERSION = '3.1.0';
public const VERSION = '3.2.3';

/**
* Gets the addon API prefix.
Expand Down

0 comments on commit f0f4762

Please sign in to comment.