FIX print function
This commit is contained in:
parent
37a84608b3
commit
2a0efe0430
@ -1,5 +1,5 @@
|
|||||||
(function() {
|
(function() {
|
||||||
var version = "4.0.4";
|
var version = "4.0.5";
|
||||||
console.log("Version: " + version);
|
console.log("Version: " + version);
|
||||||
|
|
||||||
var global = {};
|
var global = {};
|
||||||
@ -105,6 +105,7 @@
|
|||||||
function print() {
|
function print() {
|
||||||
var printFrame = jQuery("#card-print-dialog-content-iframe");
|
var printFrame = jQuery("#card-print-dialog-content-iframe");
|
||||||
var printWindow = printFrame[0].contentWindow;
|
var printWindow = printFrame[0].contentWindow;
|
||||||
|
var printDocument = printWindow.document;
|
||||||
|
|
||||||
if (global.isProd) {
|
if (global.isProd) {
|
||||||
ga('send', 'event', 'button', 'click', 'print', jQuery(".card", printDocument).length);
|
ga('send', 'event', 'button', 'click', 'print', jQuery(".card", printDocument).length);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user