]> git.ipfire.org Git - thirdparty/patchwork.git/commit
templates/base: generalise clipbboardjs initialisation
authorRoss Burton <ross.burton@arm.com>
Wed, 3 Jan 2024 17:44:54 +0000 (17:44 +0000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Tue, 16 Jan 2024 18:38:49 +0000 (18:38 +0000)
commite073d59b5cf9b5cccf7033ce4b61209369579d86
treeb10d2402817fa5d27d77e189bb51aa20456c976a
parent28c6e7b8e4af63dfb016ba3150e7a55d1cb78b59
templates/base: generalise clipbboardjs initialisation

Don't limit the clipboardjs hooking to button.btn-copy, as we may want
to use it on icons which are not buttons.

Signed-off-by: Ross Burton <ross.burton@arm.com>
templates/base.html