Skip to content

Commit

Permalink
now -custom has been properly removed, this should let 'remove' worki…
Browse files Browse the repository at this point in the history
…ng angain
  • Loading branch information
ccancellieri committed Mar 26, 2021
1 parent 88fa2a2 commit 30512e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/scheming/assets/js/scheming-multiple-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ this.ckan.module('scheming-multiple-text', function($, _) {
},
initialize: function() {
if (!scheming_multiple_text_init_done) {
$(document).on('click', 'a[name="multiple-remove-custom"]', function(e) {
$(document).on('click', 'a[name="multiple-remove"]', function(e) {
var list = $(this).closest('ol').find('li');
if (list.length != 1){
var $curr = $(this).closest('.multiple-text-field');
Expand Down

0 comments on commit 30512e9

Please sign in to comment.