mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-20 22:32:45 +00:00
Apply to Edit page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user