Skip to content

Commit

Permalink
Include search input type in form rescan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvl22 committed Mar 31, 2018
1 parent 32ea853 commit 28cf184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Leaflet.LayerViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ var layerviewer = (function ($) {
_parameters[layerId] = layerviewer.parseFormValues (layerId);
layerviewer.getData (layerId, _parameters[layerId]);
});
$('form#data #sections :text').on ('input', function() { // Also include text input changes as-you-type; see: https://gist.github.com/brandonaaskov/1596867
$('form#data #sections :text, form#data #sections input[type="search"]').on ('input', function() { // Also include text input changes as-you-type; see: https://gist.github.com/brandonaaskov/1596867
_parameters[layerId] = layerviewer.parseFormValues (layerId);
layerviewer.getData (layerId, _parameters[layerId]);
});
Expand Down

0 comments on commit 28cf184

Please sign in to comment.