Fix slider custom cursor

This commit is contained in:
Paul Nicoué 2022-11-25 16:30:51 +01:00
parent 4cef2950f6
commit 0b6f7cf4fa
3 changed files with 4 additions and 4 deletions

View file

@ -116,10 +116,10 @@ function turnSidebarLinksToBlack() {
function editColorTheme(slide) {
if (slide) {
if (slide.getAttribute('data-logo-color') === 'white') {
if (slide.getAttribute('data-text-color') === 'white') {
turnSidebarLinksToWhite();
cursorColor = 'light';
} else if (slide.getAttribute('data-logo-color') === 'black') {
} else if (slide.getAttribute('data-text-color') === 'black') {
turnSidebarLinksToBlack();
cursorColor = 'dark';
}