add "this" to onappear

This commit is contained in:
metacryst
2024-05-04 13:57:01 -05:00
parent 0b8ec14923
commit 48529ae3e2

View File

@@ -779,7 +779,7 @@ HTMLElement.prototype.positionType = function (value) {
/* PROTOTYPE EVENTS */
HTMLElement.prototype.onAppear = function(func) {
func()
func(this)
return this
}
HTMLElement.prototype.onClick = function(func) {