diff --git a/client/modules/IDE/components/About.js b/client/modules/IDE/components/About.js
index 0959ffe5..534c6642 100644
--- a/client/modules/IDE/components/About.js
+++ b/client/modules/IDE/components/About.js
@@ -4,13 +4,17 @@ const exitUrl = require('../../../images/exit.svg');
import { browserHistory } from 'react-router';
class About extends React.Component {
+ componentDidMount() {
+ this.refs.about.focus();
+ }
+
closeAboutModal() {
browserHistory.goBack();
}
render() {
return (
-
+
About
-
+
);
}
}
diff --git a/client/modules/IDE/components/Editor.js b/client/modules/IDE/components/Editor.js
index ae8c415b..93508ed2 100644
--- a/client/modules/IDE/components/Editor.js
+++ b/client/modules/IDE/components/Editor.js
@@ -148,6 +148,7 @@ class Editor extends React.Component {
>
-
+
-
Tidy
diff --git a/client/modules/IDE/components/ShareModal.js b/client/modules/IDE/components/ShareModal.js
index 7b54fbf4..661a1ed6 100644
--- a/client/modules/IDE/components/ShareModal.js
+++ b/client/modules/IDE/components/ShareModal.js
@@ -2,42 +2,47 @@ import React, { PropTypes } from 'react';
import InlineSVG from 'react-inlinesvg';
const exitUrl = require('../../../images/exit.svg');
-function ShareModal(props) {
- const hostname = window.location.origin;
- return (
-
- );
+class ShareModal extends React.Component {
+ componentDidMount() {
+ this.refs.shareModal.focus();
+ }
+ render() {
+ const hostname = window.location.origin;
+ return (
+
+ );
+ }
}
ShareModal.propTypes = {