mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Add missing destroy()
This commit is contained in:
parent
b7403af93f
commit
f0392bc4e8
@ -31,6 +31,11 @@ var et2_dynheight = /** @class */ (function () {
|
||||
this.innerNode = jQuery(_innerNode);
|
||||
this.minHeight = _minHeight;
|
||||
}
|
||||
et2_dynheight.prototype.destroy = function () {
|
||||
this.outerNode = null;
|
||||
this.innerNode = null;
|
||||
this.bottomNodes = [];
|
||||
};
|
||||
/**
|
||||
* Resizes the inner node. When this is done, the callback function is
|
||||
* called.
|
||||
|
@ -39,6 +39,13 @@ export class et2_dynheight
|
||||
this.minHeight = _minHeight;
|
||||
}
|
||||
|
||||
destroy()
|
||||
{
|
||||
this.outerNode = null;
|
||||
this.innerNode = null;
|
||||
this.bottomNodes = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Resizes the inner node. When this is done, the callback function is
|
||||
* called.
|
||||
|
Loading…
Reference in New Issue
Block a user