Improved error handling.
This commit is contained in:
parent
cc52b7844d
commit
4c0c3165af
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ class App.Navigation extends App.ControllerWidgetPermanent
|
||||||
return
|
return
|
||||||
else if e.keyCode is 13 # enter
|
else if e.keyCode is 13 # enter
|
||||||
href = @$('#global-search-result .nav-tab.is-hover').attr('href')
|
href = @$('#global-search-result .nav-tab.is-hover').attr('href')
|
||||||
|
return if !href
|
||||||
@locationExecute(href)
|
@locationExecute(href)
|
||||||
@emptyAndClose()
|
@emptyAndClose()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue