mirror of
https://github.com/falcion/Whisperer.md.git
synced 2026-07-22 11:50:29 +00:00
17 lines
391 B
JavaScript
17 lines
391 B
JavaScript
HTMLMediaElement.prototype.pause = function () {
|
|
/* no-op */
|
|
}
|
|
HTMLMediaElement.prototype.play = function () {
|
|
/* no-op */
|
|
}
|
|
|
|
HTMLElement.prototype.empty = function () {
|
|
while (this.firstChild) this.removeChild(this.firstChild)
|
|
}
|
|
|
|
HTMLElement.prototype.addClass = function (c) {
|
|
this.classList.add(c)
|
|
}
|
|
HTMLElement.prototype.removeClass = function (c) {
|
|
this.classList.remove(c)
|
|
}
|