Skip to content

Commit

Permalink
Make viewer html links open in new tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Jan 30, 2025
1 parent 20bfb83 commit 3bfe842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e3sm_diags/viewer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def insert_data_in_row(row_obj, name, url):
td = soup.new_tag("td")
a = soup.new_tag("a")
a["href"] = url
a["target"] = "_blank" # Open link in a new tab
a.string = name
td.append(a)
row_obj.append(td)
Expand Down

0 comments on commit 3bfe842

Please sign in to comment.