diff --git a/api/js/framework/fw_desktop.js b/api/js/framework/fw_desktop.js index 192348ee16..abec32be6b 100644 --- a/api/js/framework/fw_desktop.js +++ b/api/js/framework/fw_desktop.js @@ -549,12 +549,12 @@ import "sortablejs/Sortable.min.js"; if (state == 1) { node.firstElementChild.classList.remove('darkmode_on'); - node.firstElementChild.title = egw.lang('light mode'); + node.firstElementChild.title = egw.lang('dark mode'); } else { node.firstElementChild.classList.add('darkmode_on'); - node.firstElementChild.title = egw.lang('dark mode'); + node.firstElementChild.title = egw.lang('light mode'); } } }); diff --git a/pixelegg/js/fw_mobile.js b/pixelegg/js/fw_mobile.js index 0b7e55da51..eff854cf58 100644 --- a/pixelegg/js/fw_mobile.js +++ b/pixelegg/js/fw_mobile.js @@ -1059,12 +1059,12 @@ import {tapAndSwipe} from "../../api/js/tapandswipe"; { node.classList.remove('darkmode_on'); if (node.hasChildNodes()) node.children[0].classList.remove('darkmode_on'); - node.title = egw.lang('light mode'); + node.title = egw.lang('dark mode'); } else { node.classList.add('darkmode_on'); - node.title = egw.lang('dark mode'); + node.title = egw.lang('light mode'); if (node.hasChildNodes()) node.children[0].classList.add('darkmode_on'); } }