Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Aug 14, 2024
2 parents 316faa2 + e91001e commit 5289141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openatlas/display/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def link(
external: bool = False) -> str:
html = ''
if isinstance(object_, (str, LazyString)):
js = f' onclick="{uc_first(js)}"' if js else ''
js = f' onclick="{js}"' if js else ''
ext = ' target="_blank" rel="noopener noreferrer"' if external else ''
if uc_first_ and not str(object_).startswith('http'):
object_ = uc_first(object_)
Expand Down

0 comments on commit 5289141

Please sign in to comment.