Skip to content

Commit

Permalink
update interactive taxonomy leaf node pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
woodfrog committed Oct 20, 2024
1 parent d5526c5 commit a2626fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ <h4 class="title is-3">Interactive Task Viewer</h4>
<div class="content has-text-centered">
<p class="interactive-taxonomy-text">
Navigate through our application-based task taxonomy to inspect the tasks!<br>
<strong style="color: red;">Click the leaf node to view a visualization page with detailed task information. </strong>
<strong style="color: red;">Click the leaf node to view the detailed task information with a concrete example. </strong>
</p>
</div>
<div class="column is-full has-text-centered content">
Expand Down
2 changes: 1 addition & 1 deletion static/js/taxonomy_plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function setupLeafNodeClick(series) {
if (dataItem && dataItem.get("children").length === 0) {
// This is a leaf node
var path = buildPath(dataItem);
var url = `https://github.com/TIGER-AI-Lab/MEGA-Bench-task-examples/tree/main/task_examples/${path}`;
var url = `https://github.com/TIGER-AI-Lab/MEGA-Bench/tree/main/task_examples/${path}`;
window.open(url, "_blank");
}
});
Expand Down

0 comments on commit a2626fc

Please sign in to comment.