Apply to Edit page

This commit is contained in:
Trevor Buckner committed 2021-10-14 00:03:22 -04:00
1 parent a695540f60
commit 872125515e
4 files changed
+20 -76

No files matched your search

@@ -32,9 +32,11 @@ const SharePage = createClass({
componentDidMount : function() {
document.addEventListener('keydown', this.handleControlKeys);
},
componentWillUnmount : function() {
document.removeEventListener('keydown', this.handleControlKeys);
},
handleControlKeys : function(e){
if(!(e.ctrlKey || e.metaKey)) return;
const P_KEY = 80;