Adds callback for clipboard button (#3678)

This commit is contained in:
Oliver 2022-09-14 17:03:51 +10:00 committed by GitHub
parent 3f31d90666
commit 7645492cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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