Adds callback for clipboard button (#3678)
This commit is contained in:
parent
3f31d90666
commit
7645492cc2
|
|
@ -140,6 +140,8 @@ function inventreeDocReady() {
|
|||
// start watcher
|
||||
startNotificationWatcher();
|
||||
|
||||
attachClipboard('.clip-btn');
|
||||
|
||||
// always refresh when the focus returns
|
||||
$(document).focus(function(){
|
||||
startNotificationWatcher();
|
||||
|
|
|
|||
Loading…
Reference in New Issue