We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b08336 commit 2091e98Copy full SHA for 2091e98
src/ldf-client-ui.js
@@ -209,7 +209,7 @@ if (typeof global.process === 'undefined')
209
$queries.chosen({ skip_no_results: true, placeholder_text: ' ' });
210
$queries.change(function (query) {
211
var queryContext = $queries.find(':selected').attr('queryContext');
212
- if ((options.query !== $queries.val() || options.queryContext !== queryContext) && (query = $queries.val())) {
+ if ((options.query !== $queries.val() || (options.queryContext && options.queryContext !== queryContext)) && (query = $queries.val())) {
213
// Set the query text
214
self._setOption('queryFormat', $queries.find(':selected').attr('queryFormat'));
215
if ($queryContextsIndexed[options.queryFormat])
0 commit comments