mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
simplified js function
This commit is contained in:
@@ -208,8 +208,7 @@
|
||||
});
|
||||
});
|
||||
function copy(id) {
|
||||
const text = document.getElementById(id).textContent;
|
||||
navigator.clipboard.writeText(text);
|
||||
navigator.clipboard.writeText(document.getElementById(id).textContent);
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user