Close tablist on all interactions
This commit is contained in:
parent
e51c9522de
commit
2a5f7c3afc
File diff suppressed because one or more lines are too long
@ -6,6 +6,7 @@ var channelStore = require('../stores/channel');
|
|||||||
var privateChatStore = require('../stores/privateChat');
|
var privateChatStore = require('../stores/privateChat');
|
||||||
var serverStore = require('../stores/server');
|
var serverStore = require('../stores/server');
|
||||||
var routeActions = require('../actions/route');
|
var routeActions = require('../actions/route');
|
||||||
|
var tabActions = require('../actions/tab');
|
||||||
var PureMixin = require('../mixins/pure');
|
var PureMixin = require('../mixins/pure');
|
||||||
|
|
||||||
var TabList = React.createClass({
|
var TabList = React.createClass({
|
||||||
@ -18,10 +19,12 @@ var TabList = React.createClass({
|
|||||||
|
|
||||||
handleConnectClick() {
|
handleConnectClick() {
|
||||||
routeActions.navigate('connect');
|
routeActions.navigate('connect');
|
||||||
|
tabActions.hideMenu();
|
||||||
},
|
},
|
||||||
|
|
||||||
handleSettingsClick() {
|
handleSettingsClick() {
|
||||||
routeActions.navigate('settings');
|
routeActions.navigate('settings');
|
||||||
|
tabActions.hideMenu();
|
||||||
},
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user