Skip to content

Commit

Permalink
bugfix museumsvictoria#230: <dynamicselect> affected by recent updates
Browse files Browse the repository at this point in the history
co-authored-by: @morimoriysmoon
  • Loading branch information
justparking authored and scroix committed Apr 1, 2024
1 parent b151ab5 commit fd7e218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodel-webui-js/src/nodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit fd7e218

Please sign in to comment.