trivial: prepare for add element button to be a <button> (#43858)

This commit is contained in:
Frédéric Péters 2020-06-10 12:04:23 +02:00
parent e5bc637d3a
commit e3c1d71d64
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
function prepare_widget_list_elements() {
$('input[name$=add_element]').click(
$('[name$=add_element]').click(
function() {
/* get prefix from clicked element */
var name_attr = $(this).attr('name');