Fix slider custom cursor
This commit is contained in:
parent
840e48fd73
commit
933b70e026
2 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@ function editColorTheme(slide) {
|
||||||
cursorColor = 'dark';
|
cursorColor = 'dark';
|
||||||
}
|
}
|
||||||
if (body && cursorOrientation && cursorColor) {
|
if (body && cursorOrientation && cursorColor) {
|
||||||
body.style.cursor = `url('/icons/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
|
body.style.cursor = `url('/images/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ function setCursorOnMove() {
|
||||||
cursorOrientation = 'previous';
|
cursorOrientation = 'previous';
|
||||||
}
|
}
|
||||||
if (cursorOrientation && cursorColor) {
|
if (cursorOrientation && cursorColor) {
|
||||||
body.style.cursor = `url('/icons/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
|
body.style.cursor = `url('/images/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue