mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update header buttons
This commit is contained in:
@@ -1379,9 +1379,9 @@ RED.view = (function() {
|
||||
function setDirty(d) {
|
||||
dirty = d;
|
||||
if (dirty) {
|
||||
$("#btn-deploy").removeClass("disabled").addClass("btn-danger");
|
||||
$("#btn-deploy").removeClass("disabled");
|
||||
} else {
|
||||
$("#btn-deploy").addClass("disabled").removeClass("btn-danger");
|
||||
$("#btn-deploy").addClass("disabled");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user