Skip to content
Snippets Groups Projects
Unverified Commit 8aeb4e5b authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Merge pull request #956 from noesya/fix/websites-default-lang-js

Correction JS Sites Web : Langue par défaut
parents 03fe1a86 efca489f
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ window.osuny.communication.websites = {
'use strict';
this.languagesCheckboxes = document.querySelectorAll('.js-languages input[type="checkbox"]');
this.defaultLanguageSelect = document.querySelector('.js-default-language');
this.defaultLanguageOptions = this.defaultLanguageSelect.querySelectorAll('option');
if (this.defaultLanguageSelect) {
this.defaultLanguageOptions = this.defaultLanguageSelect.querySelectorAll('option');
this.initEvents();
this.onChangeCheckbox();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment