mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
fixing bug from refactor
This commit is contained in:
parent
a1fa3315b1
commit
e382f2a57e
@ -12,7 +12,7 @@ function attachClipboard(selector, containerselector, textElement) {
|
|||||||
return document.getElementById(textElement).textContent;
|
return document.getElementById(textElement).textContent;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
text = function() {
|
text = function(trigger) {
|
||||||
var content = trigger.parentElement.parentElement.textContent;return content.trim();
|
var content = trigger.parentElement.parentElement.textContent;return content.trim();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -22,7 +22,6 @@ function attachClipboard(selector, containerselector, textElement) {
|
|||||||
text: text,
|
text: text,
|
||||||
container: containerselector
|
container: containerselector
|
||||||
});
|
});
|
||||||
console.log(cis);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -81,7 +80,6 @@ function inventreeDocReady() {
|
|||||||
attachClipboard('.clip-btn');
|
attachClipboard('.clip-btn');
|
||||||
attachClipboard('.clip-btn', 'modal-about'); // modals
|
attachClipboard('.clip-btn', 'modal-about'); // modals
|
||||||
attachClipboard('.clip-btn-version', 'modal-about', 'about-copy-text'); // version-text
|
attachClipboard('.clip-btn-version', 'modal-about', 'about-copy-text'); // version-text
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function isFileTransfer(transfer) {
|
function isFileTransfer(transfer) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user