Performance improvement
This commit is contained in:
parent
5bfc183ed5
commit
66ff144ab8
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue