Tune up logic for launching developer settings

- Don't bother to return false, event.preventDefault() is enough
 - Don't respond to cmd-shift, only ctrl-shift (cmd-shift was a
   workaround for OS X, but it works fine on OS X if we use
   onMouseUp instead of onClick)
This commit is contained in:
Alex Liebowitz 2017-03-08 18:18:18 -05:00
parent 302a1029bd
commit e9fdcd1094

View file

@ -21,10 +21,9 @@ var drawerImageStyle = { //@TODO: remove this, img should be properly scaled onc
var Drawer = React.createClass({
handleLogoClicked: function(event) {
if (event.shiftKey && (event.ctrlKey || event.metaKey)) {
if (event.ctrlKey && event.shiftKey) {
window.location.href = 'index.html?developer'
event.preventDefault();
return false;
}
},
getInitialState: function() {