Fix clear button being activated when clicking the modal header

This commit is contained in:
jos 2018-07-11 13:31:07 +02:00
parent 6edfac4ef1
commit d05231977c
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ function showTransformModal (node, container) {
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
selectrSelectFields.on('selectr.change', generateQueryFromWizard);
wizard.onclick = function (event) {
elem.querySelector('.pico-modal-contents').onclick = function (event) {
// prevent the first clear button from getting focus when clicking anywhere in the modal
event.preventDefault();
};