From a71bb8aed964dbeb8b1752aaa9df2a2cc98be8c0 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 22 Jan 2026 18:12:57 +0100 Subject: [PATCH] maint(pat-inject): Replace deprecated jQuery.isFunction with native JavaScript call. --- src/pat/inject/inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pat/inject/inject.js b/src/pat/inject/inject.js index 8590255c8..0e75b6873 100644 --- a/src/pat/inject/inject.js +++ b/src/pat/inject/inject.js @@ -1110,7 +1110,7 @@ const inject = { async callTypeHandler(type, fn, context, params) { type = type || "html"; - if (this.handlers[type] && $.isFunction(this.handlers[type][fn])) { + if (this.handlers[type] && typeof this.handlers[type][fn] === "function") { return await this.handlers[type][fn].bind(this)(...params); } else { return null;