Commit avant changement d'agent vers devstral
This commit is contained in:
@ -174,6 +174,10 @@ window.switchSettingsTab = function(tabName) {
|
||||
document.getElementById('themes-section').style.display = 'none';
|
||||
document.getElementById('fonts-section').style.display = 'none';
|
||||
document.getElementById('editor-section').style.display = 'none';
|
||||
const otherSection = document.getElementById('other-section');
|
||||
if (otherSection) {
|
||||
otherSection.style.display = 'none';
|
||||
}
|
||||
|
||||
// Activer l'onglet cliqué
|
||||
const activeTab = Array.from(tabs).find(tab => {
|
||||
@ -181,6 +185,7 @@ window.switchSettingsTab = function(tabName) {
|
||||
if (tabName === 'themes') return text.includes('thème');
|
||||
if (tabName === 'fonts') return text.includes('police');
|
||||
if (tabName === 'editor') return text.includes('éditeur');
|
||||
if (tabName === 'other') return text.includes('autre');
|
||||
return false;
|
||||
});
|
||||
if (activeTab) {
|
||||
|
||||
Reference in New Issue
Block a user