mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminando servicios manipulados y preimpresion
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
/**
|
||||
* Clipboard
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
const clipboardList = [].slice.call(document.querySelectorAll('.clipboard-btn'));
|
||||
if (ClipboardJS) {
|
||||
clipboardList.map(function (clipboardEl) {
|
||||
const clipboard = new ClipboardJS(clipboardEl);
|
||||
clipboard.on('success', function (e) {
|
||||
if (e.action == 'copy') {
|
||||
toastr['success']('', 'Copied to Clipboard!!');
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
clipboardList.map(function (clipboardEl) {
|
||||
clipboardEl.setAttribute('disabled', true);
|
||||
});
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user