mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Switch editableList buttons from <a> to <button> elements
This commit is contained in:
		| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user