Don't show intro on small screens

[MAILPOET-1446]
This commit is contained in:
Jan Jakeš
2018-08-09 21:29:06 +02:00
committed by pavel-mailpoet
parent fcef5f0d2b
commit 81c22652cf

View File

@@ -21,6 +21,11 @@ const introSteps = [
];
function Intro() {
// don't show on small screens
if (innerWidth <= 960) {
return;
}
const intro = introJs();
intro.setOptions({
steps: introSteps,