diff --git a/src/Resources/queries/widget.js b/src/Resources/queries/widget.js index b60b44f5..5b118700 100644 --- a/src/Resources/queries/widget.js +++ b/src/Resources/queries/widget.js @@ -308,6 +308,10 @@ if($details.children().length) { $li.addClass(csscls('expandable')) .on('click', (event) => { + if (window.getSelection().type == "Range") { + return; + } + if ($(event.target).closest(`.${csscls('params')}`).length) { return; }