diff --git a/website/App.js b/website/App.js index fc13b96..0bc7b2e 100644 --- a/website/App.js +++ b/website/App.js @@ -71,12 +71,21 @@ export default class App extends Component { onKeyBoardMouseUp() { this.setState({ keyStr: [] }); } + openVersionWebsite(e) { + if (e.target && e.target.value) { + window.location.href = e.target.value; + } + } render() { const { keyStr } = this.state; let DocumentStrSource = DocumentStr; if (DocumentStrSource) DocumentStrSource = DocumentStr.replace(/([\s\S]*)/, ''); return (