From c89a7b11d2edcb459bb42a36fabb7942d937b77a Mon Sep 17 00:00:00 2001 From: Aldo Date: Thu, 9 Feb 2023 12:14:00 +0100 Subject: [PATCH] Update notify.js https://github.com/jpillora/notifyjs/issues/128 --- dist/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/notify.js b/dist/notify.js index fb9df63..440389a 100644 --- a/dist/notify.js +++ b/dist/notify.js @@ -536,7 +536,7 @@ }; $[pluginName] = function(elem, data, options) { - if ((elem && elem.nodeName) || elem.jquery) { + if ((elem && elem.nodeName) || (elem && elem.jquery)) { $(elem)[pluginName](data, options); } else { options = data;