git cherry-pick 34ec199edb

This commit is contained in:
Kay Faraday 2021-12-10 00:51:54 +00:00 committed by Kay Faraday
parent ffb8a5a853
commit 4252e74736
2 changed files with 4 additions and 1 deletions

View File

@ -28,4 +28,7 @@
Array.from(document.querySelectorAll('dl.emojo div')).forEach((element) => {
element.addEventListener('click', copyEmojo);
});
// only display the instructions if JS is enabled
document.getElementById('copy-instructions').innerText = 'click/touch to copy to clipboard';
}());

View File

@ -3,7 +3,7 @@
{% block body %}
<p>
<b>{{ instance }}</b> emojo list<br>
click/touch to copy to clipboard
<span id=copy-instructions></span>
</p>
{% for category in emojo.keys() %}
<h2 id={{ category }}>{{ category }}</h2>