   componentDidMount: ->
     webview.addEventListener 'did-start-loading', @handleStartLoading
     webview.addEventListener 'did-stop-loading', @handleStopLoading
+    webview.addEventListener 'did-fail-load', @handleFailLoad
   componentWillUmount: ->
     webview.removeEventListener 'did-start-loading', @handleStartLoading
     webview.removeEventListener 'did-stop-loading', @handleStopLoading
+    webview.removeEventListener 'did-fail-load', @handleFailLoad
   render: ->
     <Grid>
       <Col xs={8}>

webview = $('kan-game webview')
getIcon = (status) ->
  switch status
    when -1
      <FontAwesome name='arrow-right' />
    when 0

    @setState
      navigateStatus: 0
      navigateUrl: webview.getUrl()
  handleFailLoad: ->
    @setState
      navigateStatus: -2
  handleNavigate: ->
    webview.src = @state.navigateUrl
  handleRefresh: ->
