diff --git a/InvenTree/InvenTree/static/script/inventree/inventree.js b/InvenTree/InvenTree/static/script/inventree/inventree.js index 2c879449ca..ea0f2a681c 100644 --- a/InvenTree/InvenTree/static/script/inventree/inventree.js +++ b/InvenTree/InvenTree/static/script/inventree/inventree.js @@ -110,7 +110,7 @@ function inventreeDocReady() { launchModalForm(`/about/`, { no_post: true, 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 $('.brand-icon').each(function(i, obj) { loadBrandIcon($(this), $(this).attr('brand_name'));