Skip to content

Commit

Permalink
fixed clear prefill for typeless inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed Mar 2, 2024
1 parent 16bcb58 commit 4932f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/editor.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ $().ready(function() {
$(".clear-prefill").on('click', function(e) {
e.preventDefault();
if(confirm("Clear all tracks?")) {
$("input[type=text], input[type=url]").val('');
$("input.text").val('');
$("input.prefill").remove();

$(".discogs-prefill-confirm").slideUp();
Expand Down

0 comments on commit 4932f18

Please sign in to comment.