mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Etemplate: Fix printing ruined scrolling in nextmatch
This commit is contained in:
parent
ff91be903a
commit
758934c1e4
@ -2196,6 +2196,9 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
* in beforePrint()
|
||||
*/
|
||||
et2_nextmatch.prototype.afterPrint = function () {
|
||||
if (!this.div.hasClass('print')) {
|
||||
return;
|
||||
}
|
||||
this.div.removeClass('print landscape portrait');
|
||||
jQuery(this.print.orientation_style).remove();
|
||||
delete this.print.orientation_style;
|
||||
|
@ -2920,7 +2920,10 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
*/
|
||||
afterPrint( )
|
||||
{
|
||||
|
||||
if(!this.div.hasClass('print'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
this.div.removeClass('print landscape portrait');
|
||||
jQuery(this.print.orientation_style).remove();
|
||||
delete this.print.orientation_style;
|
||||
|
Loading…
Reference in New Issue
Block a user