Fix eslint default-case in es5 files

[MAILPOET-1145]
This commit is contained in:
Pavel Dohnal
2018-02-19 15:58:25 +00:00
parent 426a72c557
commit e10901d939
3 changed files with 5 additions and 1 deletions

View File

@@ -340,6 +340,7 @@ define('modal', ['mailpoet', 'jquery'],
}
jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
break;
default: throw new Error('Incorrect type');
}
return this;
@@ -376,6 +377,7 @@ define('modal', ['mailpoet', 'jquery'],
}
}.bind(this), 0);
break;
default: throw new Error('Incorrect type');
}
return this;