2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

Fix version-copy button according to #3373 (#3425)

This commit is contained in:
miggland
2022-07-28 00:06:32 +02:00
committed by GitHub
parent 8f9981a3b6
commit 2b1658e513

View File

@ -110,7 +110,7 @@ function inventreeDocReady() {
launchModalForm(`/about/`, { launchModalForm(`/about/`, {
no_post: true, no_post: true,
after_render: function() { after_render: function() {
attachClipboard('.clip-btn', 'modal-form'); attachClipboard('.clip-btn', 'modal-form', 'about-copy-text');
} }
}); });
}); });
@ -122,9 +122,6 @@ function inventreeDocReady() {
}); });
}); });
// Initialize clipboard-buttons
attachClipboard('.clip-btn');
// Generate brand-icons // Generate brand-icons
$('.brand-icon').each(function(i, obj) { $('.brand-icon').each(function(i, obj) {
loadBrandIcon($(this), $(this).attr('brand_name')); loadBrandIcon($(this), $(this).attr('brand_name'));