<p></p>
<p>I had issues with that, so I did this instead:</p>
<pre><code>let attrib = L.control.attribution({prefix: ""});
attrib.addTo(map);
attrib.getContainer().classList.add("map-attribution");
let zoom = L.control.zoom({});
zoom.addTo(map);
zoom.getContainer().classList.add("map-zoom");
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-737317104">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIKU62LMWFRSEET65LSSZO3FANCNFSM4IHLU3FA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJIXIWWJF7UFI47DJDSSZO3FA5CNFSM4IHLU3FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPZJB4A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-737317104",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-737317104",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>