Revert "Fix #4262: Saving with Ctrl/Cmd + S"
This reverts commit e2ee0e06f7.
This commit is contained in:
1 parent
28fbb5352c
commit
5b75c2e971
1 file changed
-8
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user