diff options
author | Mario <mario@mariovavti.com> | 2024-07-23 22:08:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-23 22:08:42 +0000 |
commit | 467e0b32b4e5a25c48b7d006058b051d52c005ac (patch) | |
tree | 618fa378aece709f33a24c47094f870a7b36fc82 /view/theme/redbasic/js | |
parent | 204d91c3c3c0c54b67ac3255a666038533b4fe85 (diff) | |
download | volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.tar.gz volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.tar.bz2 volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.zip |
fa2bi and a php error in mod appman
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 0f2617cc0..76d6c0854 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -29,11 +29,11 @@ $(document).ready(function() { } if (redbasic_dark_mode == 1) { - $('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o'); + $('#theme-switch-icon').removeClass('bi-moon').addClass('bi-sun'); $('[data-bs-theme="light"]').attr('data-bs-theme', 'dark'); } if (redbasic_dark_mode == 0) { - $('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o'); + $('#theme-switch-icon').removeClass('bi-sun').addClass('bi-moon'); $('[data-bs-theme="dark"]:not(nav)').attr('data-bs-theme', 'light'); } @@ -84,12 +84,12 @@ $(document).ready(function() { $('[data-bs-theme="dark"]').attr('data-bs-theme', 'light'); } localStorage.setItem('redbasic_dark_mode', 0); - $('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o'); + $('#theme-switch-icon').removeClass('bi-sun').addClass('bi-moon'); } else { $('[data-bs-theme="light"]').attr('data-bs-theme', 'dark'); localStorage.setItem('redbasic_dark_mode', 1); - $('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o'); + $('#theme-switch-icon').removeClass('bi-moon').addClass('bi-sun'); } $('meta[name=theme-color]').attr('content', $('nav').css('background-color')); localStorage.setItem('redbasic_theme_color', $('nav').css('background-color')); |