aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/common.js
diff options
context:
space:
mode:
authorJason <jason.daurus@gmail.com>2016-03-02 22:37:32 +0800
committerJason <jason.daurus@gmail.com>2016-03-02 22:37:32 +0800
commit1d002182e318be64190c4616ac4931e98feb31eb (patch)
tree5a1791ac7c854f0008dcdcec6fcdfc11737440c1 /web/src/js/components/common.js
parentfab9dad940d6db15bb671a557fd51d1241e4ecbe (diff)
downloadmitmproxy-1d002182e318be64190c4616ac4931e98feb31eb.tar.gz
mitmproxy-1d002182e318be64190c4616ac4931e98feb31eb.tar.bz2
mitmproxy-1d002182e318be64190c4616ac4931e98feb31eb.zip
[web] remove common.ChildFocus
Diffstat (limited to 'web/src/js/components/common.js')
-rw-r--r--web/src/js/components/common.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/web/src/js/components/common.js b/web/src/js/components/common.js
index 5fae7415..293cff49 100644
--- a/web/src/js/components/common.js
+++ b/web/src/js/components/common.js
@@ -52,18 +52,6 @@ export var SettingsState = {
};
-export var ChildFocus = {
- contextTypes: {
- returnFocus: React.PropTypes.func
- },
- returnFocus: function () {
- ReactDOM.findDOMNode(this).blur();
- window.getSelection().removeAllRanges();
- this.context.returnFocus();
- }
-};
-
-
export var Router = {
contextTypes: {
location: React.PropTypes.object,