mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 09:55:28 +00:00
Adds callback for clipboard button (#3678)
This commit is contained in:
1 parent
3f31d90666
commit
7645492cc2
1 file changed
+2
@@ -140,6 +140,8 @@ function inventreeDocReady() {
|
|||||||
// start watcher
|
// start watcher
|
||||||
startNotificationWatcher();
|
startNotificationWatcher();
|
||||||
|
|
||||||
|
attachClipboard('.clip-btn');
|
||||||
|
|
||||||
// always refresh when the focus returns
|
// always refresh when the focus returns
|
||||||
$(document).focus(function(){
|
$(document).focus(function(){
|
||||||
startNotificationWatcher();
|
startNotificationWatcher();
|
||||||
|
|||||||
Reference in new issue
Block a user