Hide 'Save settings' button on Key Activation tab

[MAILPOET-2431]
This commit is contained in:
Jan Jakeš
2019-12-09 17:55:55 +01:00
committed by Jack Kitterhing
parent 7da4128169
commit 7112836fad

View File

@@ -65,7 +65,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
}
// show "save settings" button
jQuery('.mailpoet_settings_submit').show();
if (tab !== 'premium') {
jQuery('.mailpoet_settings_submit').show();
}
MailPoet.trackEvent(
'User has clicked a tab in Settings',