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() {
|
function Intro() {
|
||||||
|
// don't show on small screens
|
||||||
|
if (innerWidth <= 960) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const intro = introJs();
|
const intro = introJs();
|
||||||
intro.setOptions({
|
intro.setOptions({
|
||||||
steps: introSteps,
|
steps: introSteps,
|
||||||
|
Reference in New Issue
Block a user