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

Adds callback for clipboard button () ()

(cherry picked from commit 7645492cc2)
This commit is contained in:
Oliver
2022-09-14 17:50:15 +10:00
committed by GitHub
parent 66d6896925
commit c4c3cdcb31

@@ -140,6 +140,8 @@ function inventreeDocReady() {
// start watcher // start watcher
startNotificationWatcher(); startNotificationWatcher();
attachClipboard('.clip-btn');
// always refresh when the focus returns // always refresh when the focus returns
$(document).focus(function(){ $(document).focus(function(){
startNotificationWatcher(); startNotificationWatcher();