TEMP: allow delete all options

This commit is contained in:
Lastorder 2024-11-22 09:31:27 +09:00 committed by GitHub
parent 710f20ab33
commit 690ba43271
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,7 @@ jQuery(function($){
$tr = $(this).prevAll('div').children('table').find('>tbody>tr:last');
match = $tr.find('td>input').attr('name').match(/item_(\d+)_(\d+)/);
if(!match || match[2] == 2) return;
if(!match) return;
$tr.remove();