mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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
Block a user