forked from extern/egroupware
Etemplate: Fix printing ruined scrolling in nextmatch
This commit is contained in:
parent
af26455bf5
commit
905f086218
@ -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