Skip to content

Commit 4700b15

Browse files
committed
fix copy button
1 parent 52654d1 commit 4700b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1>Searching for images in collection: {{ collection_settings.label }}</h1>
5151
<div class="overlay">
5252

5353
<div class="buttons">
54-
<a href="#" onclick="copyTextToClipboard(this, '{{ get_data_url(dbimage) }}')" class="icon" >
54+
<a href="#" onclick="copyTextToClipboard(this, '{{ get_data_url(dbimage) }}'); return false;" class="icon" >
5555
<div class="tooltip">
5656
<img src="{{ url_for('static', path='copy-link-64.png') }}" alt="Copy link icon">
5757
<span class="tooltiptext">Copy image data URL</span>

0 commit comments

Comments
 (0)