git cherry-pick 34ec199edb
This commit is contained in:
parent
ffb8a5a853
commit
4252e74736
|
@ -28,4 +28,7 @@
|
||||||
Array.from(document.querySelectorAll('dl.emojo div')).forEach((element) => {
|
Array.from(document.querySelectorAll('dl.emojo div')).forEach((element) => {
|
||||||
element.addEventListener('click', copyEmojo);
|
element.addEventListener('click', copyEmojo);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// only display the instructions if JS is enabled
|
||||||
|
document.getElementById('copy-instructions').innerText = 'click/touch to copy to clipboard';
|
||||||
}());
|
}());
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<p>
|
<p>
|
||||||
<b>{{ instance }}</b> emojo list<br>
|
<b>{{ instance }}</b> emojo list<br>
|
||||||
click/touch to copy to clipboard
|
<span id=copy-instructions></span>
|
||||||
</p>
|
</p>
|
||||||
{% for category in emojo.keys() %}
|
{% for category in emojo.keys() %}
|
||||||
<h2 id={{ category }}>{{ category }}</h2>
|
<h2 id={{ category }}>{{ category }}</h2>
|
||||||
|
|
Loading…
Reference in New Issue