mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Switch editableList buttons from <a> to <button> elements
This commit is contained in:
parent
bfc1f95190
commit
9b46dbaff1
@ -94,7 +94,7 @@
|
||||
}
|
||||
|
||||
buttons.forEach(function(button) {
|
||||
var element = $('<a href="#" class="red-ui-button red-ui-button-small red-ui-editableList-addButton" style="margin-top: 4px; margin-right: 5px;"></a>')
|
||||
var element = $('<button type="button" class="red-ui-button red-ui-button-small red-ui-editableList-addButton" style="margin-top: 4px; margin-right: 5px;"></button>')
|
||||
.appendTo(that.topContainer)
|
||||
.on("click", function(evt) {
|
||||
evt.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user