Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

actions.web.js 450B

1234567891011121314151617181920
  1. // @flow
  2. import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
  3. import { TOGGLE_CHAT } from './actionTypes';
  4. export * from './actions.any';
  5. /**
  6. * Toggles display of the chat side panel while also taking window
  7. * resize into account.
  8. *
  9. * @returns {Function}
  10. */
  11. export function toggleChat() {
  12. return function(dispatch: (Object) => Object) {
  13. dispatch({ type: TOGGLE_CHAT });
  14. VideoLayout.onResize();
  15. };
  16. }