Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gabriel Silva Vinha
codespeed
Commits
638f7bc9
Unverified
Commit
638f7bc9
authored
Aug 23, 2017
by
str4d
Browse files
Use the correct data array pos for commit ID in timeline changes permalinks
Fixes a bug introduced in
8fb7f1f3
.
parent
33b2a3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
codespeed/static/js/timeline.js
View file @
638f7bc9
...
...
@@ -69,7 +69,7 @@ function permalinkToChanges(commitid, executableid, environment) {
function
OnMarkerClickHandler
(
ev
,
gridpos
,
datapos
,
neighbor
,
plot
)
{
if
(
$
(
"
input[name='benchmark']:checked
"
).
val
()
===
"
grid
"
)
{
return
false
;
}
if
(
neighbor
)
{
var
commitid
=
neighbor
.
data
[
neighbor
.
data
.
length
-
2
];
var
commitid
=
neighbor
.
data
[
neighbor
.
data
.
length
-
3
];
// Get executable ID from the seriesindex array
var
executableid
=
seriesindex
[
neighbor
.
seriesIndex
];
var
environment
=
$
(
"
input[name='environments']:checked
"
).
val
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment