[IMP] documentation: legal page design
Prior to this commit, the terms and conditions were displayed in a table with all the languages and it was not practical for the futur, with many more languages. task-3073198 closes odoo/documentation#3058 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* original target URL) that is available.
|
||||
*/
|
||||
const _prepareSwitchersFallbacks = () => {
|
||||
document.querySelectorAll('a[class="dropdown-item"]').forEach(element => {
|
||||
document.querySelectorAll('a[class="o_switcher_item"]').forEach(element => {
|
||||
element.addEventListener('click', async event => {
|
||||
if (element.hasAttribute('href')) {
|
||||
const targetUrl = element.getAttribute('href');
|
||||
|
||||
Reference in New Issue
Block a user