Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreVisualizations/javascripts/seriesPicker.js')
-rw-r--r--plugins/CoreVisualizations/javascripts/seriesPicker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreVisualizations/javascripts/seriesPicker.js b/plugins/CoreVisualizations/javascripts/seriesPicker.js
index 2e4f968a14..f1e8c7eb3a 100644
--- a/plugins/CoreVisualizations/javascripts/seriesPicker.js
+++ b/plugins/CoreVisualizations/javascripts/seriesPicker.js
@@ -266,8 +266,8 @@
}
});
- var noRowSelected = this._pickerPopover.find('.pickRow').size() > 0
- && this._pickerPopover.find('.pickRow input:checked').size() == 0;
+ var noRowSelected = this._pickerPopover.find('.pickRow').length > 0
+ && this._pickerPopover.find('.pickRow input:checked').length === 0;
if (columns.length > 0 && !noRowSelected) {
$(this).trigger('seriesPicked', [columns, rows]);