mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-12 17:46:26 +02:00
add auto patreon modal open
This commit is contained in:
@ -2546,6 +2546,16 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn, askTo
|
|||||||
// Old onboarding.
|
// Old onboarding.
|
||||||
// utils.once(document, 'overlaysClosed', function() {});
|
// utils.once(document, 'overlaysClosed', function() {});
|
||||||
}
|
}
|
||||||
|
// If its an upgrade
|
||||||
|
if (
|
||||||
|
lastSeenVersion &&
|
||||||
|
utils.semverCompare(lastSeenVersion, version) === -1 &&
|
||||||
|
!window.localStorage.pledgeModalSeen
|
||||||
|
) {
|
||||||
|
scope.openSupportDeveloperModal();
|
||||||
|
window.localStorage.pledgeModalSeen = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!lastSeenVersion ||
|
!lastSeenVersion ||
|
||||||
utils.semverCompare(lastSeenVersion, version) === -1
|
utils.semverCompare(lastSeenVersion, version) === -1
|
||||||
|
Reference in New Issue
Block a user