Don't show intro on small screens
[MAILPOET-1446]
This commit is contained in:
committed by
pavel-mailpoet
parent
fcef5f0d2b
commit
81c22652cf
@@ -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,
|
||||
|
Reference in New Issue
Block a user