From 24e070f903dbf2ce94790075ac147593e9ed9a73 Mon Sep 17 00:00:00 2001 From: soufiane Date: Fri, 13 Mar 2026 11:39:37 +0100 Subject: [PATCH] wait #8057 --- resources/linkeditor-stable/js/linkeditor.layers.js | 2 +- resources/linkeditor/js/linkeditor.layers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/linkeditor-stable/js/linkeditor.layers.js b/resources/linkeditor-stable/js/linkeditor.layers.js index 2cd611215..5f99eebe0 100644 --- a/resources/linkeditor-stable/js/linkeditor.layers.js +++ b/resources/linkeditor-stable/js/linkeditor.layers.js @@ -10,7 +10,7 @@ LinkeditorLayers.prototype = { this.maskCheckEvents = false; $(document).on('click', '#linkeditor-panel-layers label span.uid', function () { - navigator.clipboard.writeText($(this).attr('fb-uid')); + navigator.clipboard.writeText($(this).attr('data-uid')); let tippy = $(this).data('tippyinstance'); tippy.setContent(TRANSLATIONS.id_copied); tippy.show(); diff --git a/resources/linkeditor/js/linkeditor.layers.js b/resources/linkeditor/js/linkeditor.layers.js index ddbca2148..b1088968f 100644 --- a/resources/linkeditor/js/linkeditor.layers.js +++ b/resources/linkeditor/js/linkeditor.layers.js @@ -39,7 +39,7 @@ LinkeditorLayers.prototype = { }); $(document).on('click', '#linkeditor-panel-layers label span.uid', function () { - navigator.clipboard.writeText($(this).attr('fb-uid')); + navigator.clipboard.writeText($(this).attr('data-uid')); let tippy = $(this).data('tippyinstance'); console.log(tippy); tippy.setContent(TRANSLATIONS.id_copied); -- 2.39.5