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:
authorMarc Neudert <marc.neudert@gmail.com>2017-07-20 18:50:05 +0300
committerStefan Giehl <stefan@piwik.org>2017-07-20 18:50:05 +0300
commit9c7d7ff1c842132bc8f3f0ff8c296eb7d3959c30 (patch)
tree06821b18af66dc55335897b87f27a1bf77e4249d /plugins/CoreVisualizations
parenteaf1e1536eb374c552d9648931903c431f0aae50 (diff)
removes usage of deprecated jQuery.size() (#11883)
Diffstat (limited to 'plugins/CoreVisualizations')
-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]);