Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kprajapatii committed Aug 7, 2024
1 parent b813942 commit dbe04a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions includes/inc/bs4-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,8 @@ function aui_flip_color_scheme_on_scroll($value, $iframe){
cs_scroll = 'navbar-light';
}

navbar.dataset.cso = cs_original
navbar.dataset.css = cs_scroll
navbar.dataset.cso = cs_original;
navbar.dataset.css = cs_scroll;
}

if($value > 0 ){
Expand Down
4 changes: 2 additions & 2 deletions includes/inc/bs5-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,8 @@ function aui_flip_color_scheme_on_scroll($value, $iframe){
cs_scroll = 'navbar-light';
}

navbar.dataset.cso = cs_original
navbar.dataset.css = cs_scroll
navbar.dataset.cso = cs_original;
navbar.dataset.css = cs_scroll;
}

if($value > 0 || navbar.classList.contains('nav-menu-open') ){
Expand Down

0 comments on commit dbe04a4

Please sign in to comment.