mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Print: popup now automatically closes with print dialog. Fixes #643
This commit is contained in:
parent
5bb688f9e8
commit
9b4ce42286
@ -82,8 +82,9 @@ printTable = ts.printTable = {
|
|||||||
'<style>' + style + '</style>' +
|
'<style>' + style + '</style>' +
|
||||||
'</head><body>' + data + '</body></html>'
|
'</head><body>' + data + '</body></html>'
|
||||||
);
|
);
|
||||||
generator.print();
|
|
||||||
generator.document.close();
|
generator.document.close();
|
||||||
|
generator.print();
|
||||||
|
generator.close();
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user