about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/actions/app.js')
-rw-r--r--app/javascript/mastodon/actions/app.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/javascript/mastodon/actions/app.js b/app/javascript/mastodon/actions/app.js
new file mode 100644
index 000000000..414968f7d
--- /dev/null
+++ b/app/javascript/mastodon/actions/app.js
@@ -0,0 +1,10 @@
+export const APP_FOCUS   = 'APP_FOCUS';
+export const APP_UNFOCUS = 'APP_UNFOCUS';
+
+export const focusApp = () => ({
+  type: APP_FOCUS,
+});
+
+export const unfocusApp = () => ({
+  type: APP_UNFOCUS,
+});