mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Stop some ui elements from clearing url anchor when clicked
This commit is contained in:
parent
7698990e37
commit
1ff23ebfd9
@ -231,6 +231,7 @@ RED.tabs = (function() {
|
||||
closeLink.append('<i class="fa fa-times" />');
|
||||
|
||||
closeLink.on("click",function(event) {
|
||||
event.preventDefault();
|
||||
removeTab(tab.id);
|
||||
});
|
||||
}
|
||||
|
@ -88,7 +88,10 @@ RED.deploy = (function() {
|
||||
'</span></li>').prependTo(".header-toolbar");
|
||||
}
|
||||
|
||||
$('#btn-deploy').click(function() { save(); });
|
||||
$('#btn-deploy').click(function(event) {
|
||||
event.preventDefault();
|
||||
save();
|
||||
});
|
||||
|
||||
RED.actions.add("core:deploy-flows",save);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user