1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-20 05:01:51 +00:00
- bugfix
- Alert message added(Private planet/Team member)
This commit is contained in:
Rokt33r
2015-08-24 13:45:28 +09:00
parent bfdf691bed
commit 15133d00c7
6 changed files with 52 additions and 37 deletions

View File

@@ -71,16 +71,6 @@ module.exports = React.createClass({
openPlanetCreateModal: function () {
this.openModal(PlanetCreateModal, {transitionTo: this.transitionTo})
},
handleKeyDown: function (e) {
if (this.state.currentUser == null) return
if (e.metaKey && e.keyCode > 48 && e.keyCode < 58) {
var planet = this.state.currentUser.Planets[e.keyCode - 49]
if (planet != null) {
this.transitionTo('planet', {userName: planet.userName, planetName: planet.name})
}
e.preventDefault()
}
},
toggleProfilePopup: function () {
this.openProfilePopup()
},