Skip to content

Commit

Permalink
Added rel="noopener" to Mapbox attribution link.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hamilton authored and jfirebaugh committed May 24, 2018
1 parent 1a8e9fe commit d8d6413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/control/logo_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class LogoControl {
anchor.target = "_blank";
anchor.href = "https://www.mapbox.com/";
anchor.setAttribute("aria-label", "Mapbox logo");
anchor.setAttribute("rel", "noopener");
this._container.appendChild(anchor);
this._container.style.display = 'none';

Expand Down

0 comments on commit d8d6413

Please sign in to comment.