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/Live/javascripts/SegmentedVisitorLog.js')
-rw-r--r--plugins/Live/javascripts/SegmentedVisitorLog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Live/javascripts/SegmentedVisitorLog.js b/plugins/Live/javascripts/SegmentedVisitorLog.js
index 1f3581423b..b831fa1a9a 100644
--- a/plugins/Live/javascripts/SegmentedVisitorLog.js
+++ b/plugins/Live/javascripts/SegmentedVisitorLog.js
@@ -3,7 +3,7 @@ var SegmentedVisitorLog = function() {
function getDataTableFromApiMethod(apiMethod)
{
var div = $(require('piwik/UI').DataTable.getDataTableByReport(apiMethod));
- if (div.size() > 0 && div.data('uiControlObject')) {
+ if (div.length && div.data('uiControlObject')) {
return div.data('uiControlObject');
}
}
@@ -107,7 +107,7 @@ var SegmentedVisitorLog = function() {
var title = box.find('h2[piwik-enriched-headline]');
var defaultTitle = title.text();
- if (title.size() > 0) {
+ if (title.length) {
title.remove();
}