2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Adds callback for clipboard button (#3678) (#3679)

(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

View File

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