From be370ef11f4186e5b59fd184cbb3515c2a83c1e5 Mon Sep 17 00:00:00 2001 From: Yongsik Moon Date: Mon, 17 Jan 2022 20:11:08 +1100 Subject: [PATCH] [bugfix] use '.on' instead of '.find' to fix issue --- nodel-webui-js/src/nodel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodel-webui-js/src/nodel.js b/nodel-webui-js/src/nodel.js index ecdba7a4..2c596d38 100644 --- a/nodel-webui-js/src/nodel.js +++ b/nodel-webui-js/src/nodel.js @@ -1036,7 +1036,7 @@ var setEvents = function(){ else $(this).removeClass('active'); callAction(data.action, data.arg); }); - $('body').find('*[data-arg], *[data-action]').not('input.spectrum-color-picker').on('click', function (e) { + $('body').on('click', '*[data-arg], *[data-action]:not(.spectrum-color-picker)', function (e) { e.stopPropagation(); e.preventDefault(); if(!$('body').hasClass('touched')) { if(navigator.issmart) $('body').addClass('touched');