MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 1c01b8e4 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

segmenter.js: size of selected clones, rename to 'updateStats' and 'div.stats'

parent 19b003c7
...@@ -126,9 +126,9 @@ Segment.prototype = { ...@@ -126,9 +126,9 @@ Segment.prototype = {
div_focus.className = "focus" div_focus.className = "focus"
div.appendChild(div_focus) div.appendChild(div_focus)
var div_average = document.createElement('div'); var div_stats = document.createElement('div');
div_average.className = "average" div_stats.className = "stats"
div.appendChild(div_average) div.appendChild(div_stats)
parent.appendChild(div) parent.appendChild(div)
...@@ -239,7 +239,7 @@ Segment.prototype = { ...@@ -239,7 +239,7 @@ Segment.prototype = {
} }
} }
this.updateAlignmentButton() this.updateAlignmentButton()
this.averageSelection(); this.updateStats();
}, },
...@@ -456,7 +456,7 @@ Segment.prototype = { ...@@ -456,7 +456,7 @@ Segment.prototype = {
} }
}, },
averageSelection: function (){ updateStats: function (){
var list = this.m.getSelected() var list = this.m.getSelected()
var sumPercentage = 0; var sumPercentage = 0;
var sumReads = 0; var sumReads = 0;
...@@ -474,7 +474,7 @@ Segment.prototype = { ...@@ -474,7 +474,7 @@ Segment.prototype = {
t += sumPercentage = m.formatSize(sumPercentage, true); t += sumPercentage = m.formatSize(sumPercentage, true);
} }
$(".average").text(t) $(".stats").text(t)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment