Fixed: Skip button is vanishinig by itself in seconds

This commit is contained in:
fred
2017-06-21 19:22:16 +02:00
parent f539860922
commit 5bd6c6533a

View File

@ -61,7 +61,7 @@ define('mp2migrator', ['mailpoet', 'jquery'], function(MailPoet, jQuery) {
} }
jQuery('#progressbar').progressbar('option', 'value', progress); jQuery('#progressbar').progressbar('option', 'value', progress);
jQuery('#progresslabel').html(progress + '%'); jQuery('#progresslabel').html(progress + '%');
if(Number(result.current !== 0)) { if(Number(result.current) !== 0) {
jQuery('#skip-import').hide(); jQuery('#skip-import').hide();
} }
if(MailPoet.MP2Migrator.is_logging) { if(MailPoet.MP2Migrator.is_logging) {