aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-02-13 01:45:53 +0800
committerAlexander Tseung <alextsg@users.noreply.github.com>2018-02-13 01:45:53 +0800
commitfe2ed68f1139046d163ec3d85f31d61ae5fbd989 (patch)
tree697d87580e9afad5f951630bfc1bbc59b2b25747 /ui/app/actions.js
parent7f70943fa2020fcc4fb9bdd0a0b22dd8d8c0718a (diff)
downloadtangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar.gz
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar.bz2
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar.lz
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar.xz
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.tar.zst
tangerine-wallet-browser-fe2ed68f1139046d163ec3d85f31d61ae5fbd989.zip
Remove chrome focus outline for mouse users. (#3230)
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index f930a93c1..c6776eeee 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -257,6 +257,9 @@ var actions = {
updateFeatureFlags,
UPDATE_FEATURE_FLAGS: 'UPDATE_FEATURE_FLAGS',
+ setMouseUserState,
+ SET_MOUSE_USER_STATE: 'SET_MOUSE_USER_STATE',
+
// Network
setNetworkEndpoints,
updateNetworkEndpointType,
@@ -1661,6 +1664,13 @@ function updateFeatureFlags (updatedFeatureFlags) {
}
}
+function setMouseUserState (isMouseUser) {
+ return {
+ type: actions.SET_MOUSE_USER_STATE,
+ value: isMouseUser,
+ }
+}
+
// Call Background Then Update
//
// A function generator for a common pattern wherein: