Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:remy/jsbin

  • Loading branch information...
commit a9f51b6e6c00e150165af791f2eb94dc1a9b006e 2 parents 62dc1a2 + e0e27ee
@remy remy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/js/chrome/save.js
View
4 public/js/chrome/save.js
@@ -150,7 +150,7 @@ if (!jsbin.saveDisabled) {
}
},
error: function () {
- console && console.log('update error');
+ window._console.error({message: 'Warning: Something went wrong while saving. Your most recent work is not saved.'});
}
});
}
@@ -250,7 +250,7 @@ function saveCode(method, ajax, ajaxCallback) {
}
},
error: function () {
-
+ window._console.error({message: 'Warning: Something went wrong while saving. Your most recent work is not saved.'});
}
});
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.