mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 05:36:54 +00:00
Apply to Edit page
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user