mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Performance improvement
This commit is contained in:
parent
5bfc183ed5
commit
66ff144ab8
@ -1194,6 +1194,9 @@
|
||||
|
||||
window.generatedPDF = false;
|
||||
function getPDFString(cb, force) {
|
||||
@if ( ! $account->live_preview)
|
||||
return;
|
||||
@endif
|
||||
var invoice = createInvoiceModel();
|
||||
var design = getDesignJavascript();
|
||||
if (!design) return;
|
||||
|
Loading…
Reference in New Issue
Block a user