Show previous games on focused pairable
This commit is contained in:
@@ -362,3 +362,14 @@ onLoad(() => {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Element.clearChildren method
|
||||
if( typeof Element.prototype.clearChildren === 'undefined' ) {
|
||||
Object.defineProperty(Element.prototype, 'clearChildren', {
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
value: function() {
|
||||
while(this.firstChild) this.removeChild(this.lastChild);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user