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:
authordiosmosis <benaka@piwik.pro>2014-09-09 16:26:48 +0400
committerdiosmosis <benaka@piwik.pro>2014-09-09 16:26:48 +0400
commit6d0ab4e0c5125887ebc1750ea6d82240218b4da6 (patch)
treee9e5fb06ac59279d4d22a376363917260fe571d5
parentc2446bb843a234945a79491463bac00997b3844b (diff)
Fixes #6178, select columns of a table correctly in handleColumnHighlighting function in dataTable.js.
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index c0cbb8d135..4ba2607c14 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -1415,13 +1415,13 @@ $.extend(DataTable.prototype, UIControl.prototype, {
if (!maxWidth[nthChild]) {
maxWidth[nthChild] = 0;
- rows.find("td:nth-child(" + (nthChild) + ") .column .value").each(function (index, element) {
+ rows.find("td:nth-child(" + (nthChild) + ").column .value").each(function (index, element) {
var width = $(element).width();
if (width > maxWidth[nthChild]) {
maxWidth[nthChild] = width;
}
});
- rows.find("td:nth-child(" + (nthChild) + ") .column .value").each(function (index, element) {
+ rows.find("td:nth-child(" + (nthChild) + ").column .value").each(function (index, element) {
$(element).css({width: maxWidth[nthChild], display: 'inline-block'});
});
}