Don't bubble when metadata_button is clicked
This commit is contained in:
parent
a9fed7c364
commit
64fc936738
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class ExtraNetworksPage:
|
|||
metadata_button = ""
|
||||
metadata = item.get("metadata")
|
||||
if metadata:
|
||||
metadata_onclick = '"' + html.escape(f"""extraNetworksShowMetadata({json.dumps(metadata)}); return false;""") + '"'
|
||||
metadata_onclick = '"' + html.escape(f"""extraNetworksShowMetadata({json.dumps(metadata)}); event.stopPropagation(); return false;""") + '"'
|
||||
metadata_button = f"<div class='metadata-button' title='Show metadata' onclick={metadata_onclick}></div>"
|
||||
|
||||
args = {
|
||||
|
|
Loading…
Reference in a new issue