| Index: Source/devtools/front_end/components/SearchableView.js
|
| diff --git a/Source/devtools/front_end/components/SearchableView.js b/Source/devtools/front_end/components/SearchableView.js
|
| index f4c9de84d1de7980e40a1f024ad9ba8d9cbdb6f4..23072762896eacac59baba4e40dd39c758125fb3 100644
|
| --- a/Source/devtools/front_end/components/SearchableView.js
|
| +++ b/Source/devtools/front_end/components/SearchableView.js
|
| @@ -339,7 +339,7 @@ WebInspector.SearchableView.prototype = {
|
| closeSearch: function()
|
| {
|
| this.cancelSearch();
|
| - if (WebInspector.currentFocusElement().isDescendant(this._footerElementContainer))
|
| + if (WebInspector.currentFocusElement() && WebInspector.currentFocusElement().isDescendant(this._footerElementContainer))
|
| this.focus();
|
| },
|
|
|
|
|