0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Removed default initialization for members script

no issue

We need to initialize members script with data passed down from the theme atm, the default initialization is only useful for quick local testing and UI development but not when script is used directly inside a theme.
This commit is contained in:
Rish 2020-04-08 22:34:38 +05:30
parent bab35b3637
commit f7f683bfc0

View file

@ -13,7 +13,8 @@ function initMembersJS(data) {
);
}
initMembersJS();
// Uncomment for local UI testing
// initMembersJS({site: {blogUrl: "", adminUrl: ""}});
window.GhostMembers = {
initMembersJS: initMembersJS