json-rules-filter 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-rules-filter",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "para crear reglas avanzadas de filtrado sobre datasets JSON de forma dinámica y visual.",
5
5
  "main": "src/jquery.jsonRulesFilter.js",
6
6
  "scripts": {
@@ -181,6 +181,7 @@
181
181
 
182
182
  //Dropdown
183
183
  $dropdown.on('click', function (e) {
184
+ e.preventDefault();
184
185
  e.stopPropagation();
185
186
  const $conatiner_dropdown = $(this).parent().find('.dropdown-rules-columns');
186
187
  $(this).dropdown($conatiner_dropdown.hasClass('show') ? "hide" : "show");