Revert "Fix #4262: Saving with Ctrl/Cmd + S"

This reverts commit e2ee0e06f7.
This commit is contained in:
Nikhil Jha committed 2019-01-23 08:44:32 -08:00
1 parent 28fbb5352c
commit 5b75c2e971
1 file changed
-8
-8
View File
@@ -40,14 +40,6 @@ const SaveStatus = ({
</div>
));
// Listen for Control/Command + S.
document.addEventListener("keydown", function(e) {
if (e.keyCode == 83 && (navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)) {
e.preventDefault();
onClickSave();
}
}, false);
SaveStatus.propTypes = {
alertsList: PropTypes.arrayOf(PropTypes.object),
onClickSave: PropTypes.func,