mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
15 lines
264 B
JavaScript
Executable File
15 lines
264 B
JavaScript
Executable File
/**
|
|
* Send Invoice Offcanvas
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
(function () {
|
|
// Send invoice textarea
|
|
const invoiceMsg = document.querySelector('#invoice-message');
|
|
|
|
const trimMsg = invoiceMsg.textContent.replace(/^\s+|\s+$/gm, '');
|
|
|
|
invoiceMsg.value = trimMsg;
|
|
})();
|