small spelling mistake in deploy.js

This commit is contained in:
dceejay 2015-03-17 15:38:31 +00:00
parent b202c73708
commit 5610a3184e
1 changed files with 4 additions and 5 deletions

View File

@ -69,11 +69,10 @@ RED.deploy = (function() {
]
});
RED.nodes.on('change',function(state) {
if (state.dirty) {
window.onbeforeunload = function() {
return "You have undeploy changes.\n\nLeaving this page will lose these changes.";
return "You have undeployed changes.\n\nLeaving this page will lose these changes.";
}
$("#btn-deploy").removeClass("disabled");
} else {