Skip to content

Commit 04c445a

Browse files
committed
update proc.js in example per upstream fix
1 parent 6c4744e commit 04c445a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

short_example/proc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ function fillTable() {
4343
newContent += "<tr><td title=\"" + val.description + "\">" + val.title + "</td>";
4444
var url = "";
4545
for (var subAxis of rawData.axes) {
46-
if (subAxis.id == y) {
47-
url += "/" + val.key;
48-
}
49-
else if (subAxis.id == x) {
46+
if (subAxis.id == x) {
5047
url += "/{X}"
5148
}
49+
else if (subAxis.id == y) {
50+
url += "/" + val.key;
51+
}
5252
else {
5353
var valSelectedKey;
5454
for (var subVal of subAxis.values) {

0 commit comments

Comments
 (0)