Fix slider custom cursor
This commit is contained in:
parent
4cef2950f6
commit
0b6f7cf4fa
3 changed files with 4 additions and 4 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue