2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-19 19:26:29 +00:00

Fix version-copy button according to ()

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

@@ -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'));