Skip to content

Commit

Permalink
Merge pull request #92 from kprajapatii/master
Browse files Browse the repository at this point in the history
minor update
  • Loading branch information
kprajapatii authored Aug 7, 2024
2 parents df39742 + dbe04a4 commit 3dc36d5
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 3dc36d5

Please sign in to comment.