Ajouter 'Js/switch-faction.js'
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
function toggleMode() {
|
||||||
|
var linkElement = document.getElementById('styles-theme');
|
||||||
|
if (linkElement.getAttribute('href') === 'css/styles-jour.css') {
|
||||||
|
linkElement.setAttribute('href', 'css/alliance.css');
|
||||||
|
} else {
|
||||||
|
linkElement.setAttribute('href', 'css/horde.css');
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user