Adds callback for clipboard button (#3678)

This commit is contained in:
Oliver authored and GitHub committed 2022-09-14 17:03:51 +10:00
1 parent 3f31d90666
commit 7645492cc2
1 file changed
+2
@@ -140,6 +140,8 @@ function inventreeDocReady() {
// start watcher
startNotificationWatcher();
attachClipboard('.clip-btn');
// always refresh when the focus returns
$(document).focus(function(){
startNotificationWatcher();