Skip to content

Commit 63d2b48

Browse files
committed
Submit fetch form on Enter key in path input
https://claude.ai/code/session_01FofeT3UVvJGdSBqi4vkQg6
1 parent 0504488 commit 63d2b48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-vulnerability-lookup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h1>Python Vulnerability Lookup</h1>
194194
<div style="margin-bottom: 12px;">
195195
<label for="pathInput" style="font-weight: 600; display: block; margin-bottom: 4px;">Or load from a GitHub repo or URL:</label>
196196
<div style="display: flex; gap: 8px;">
197-
<input type="text" id="pathInput" placeholder="simonw/datasette or https://..." style="flex: 1; padding: 8px 12px; border: 2px solid #ddd; border-radius: 6px; font-size: 14px;">
197+
<input type="text" id="pathInput" placeholder="simonw/datasette or https://..." style="flex: 1; padding: 8px 12px; border: 2px solid #ddd; border-radius: 6px; font-size: 14px;" onkeydown="if(event.key==='Enter'){event.preventDefault();fetchFromPath()}">
198198
<button id="fetchBtn" onclick="fetchFromPath()">Fetch</button>
199199
</div>
200200
<div style="font-size: 13px; color: #666; margin-top: 4px;">

0 commit comments

Comments
 (0)