Skip to content

Commit 546d6c9

Browse files
author
Filipe de Souza
committed
teste de correção para teste diferente do atributo Ref.: #157
1 parent 6e8421a commit 546d6c9

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

themes/dcp/assets/javascript/functionalities/app.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,13 @@ document.addEventListener("DOMContentLoaded", function () {
250250
});
251251
});
252252

253-
document.querySelectorAll('.mapbox-improve-map[title]').forEach(el => el.removeAttribute('title'));
253+
window.addEventListener('load', () => {
254+
document
255+
.querySelectorAll(
256+
'.mapboxgl-ctrl-attrib a[aria-label], .mapboxgl-ctrl-attrib a[title]'
257+
)
258+
.forEach(link => {
259+
link.removeAttribute('aria-label');
260+
link.removeAttribute('title');
261+
});
262+
});

themes/dcp/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Author: Hacklab
55
Author URI: https://hacklab.com.br/
66
Description: Base theme for developing new websites - Frontend (em andamento / revisão geral) - Dashboard (em andamento) [ Início, Riscos, Situação Atual, Ações + Inscrições p/ ações, Relatos, Apoio, Geolocalização OpenStreetMap, Indicadores - API ]
77
hacklab-theme-version: 1.0.5
8-
Version: 1.2.5
8+
Version: 1.2.6
99
License: GNU General Public License v2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready

0 commit comments

Comments
 (0)