Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
IagoLast committed Feb 20, 2018
1 parent 699aa2f commit 9e0cba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/test-cases/hide-attribution.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This script hides the map attribution when served locally improving screenshot testing precission.
if (document.URL.includes('file')) {
const styleElement = document.createElement('style');
styleElement.innerText = `.mapboxgl-ctrl.mapboxgl-ctrl-attrib { display: none; }`;
styleElement.innerText = '.mapboxgl-ctrl.mapboxgl-ctrl-attrib { display: none; }';
document.head.appendChild(styleElement);
}

0 comments on commit 9e0cba3

Please sign in to comment.