1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Performance improvement

This commit is contained in:
Hillel Coren 2017-01-25 20:19:32 +02:00
parent 5bfc183ed5
commit 66ff144ab8

View File

@ -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;