diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index f67926978d1..cfb1e7f6828 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -948,6 +948,8 @@ void WebContents::OpenDevTools(mate::Arguments* args) { mate::Dictionary options; if (args->GetNext(&options)) { options.Get("mode", &state); + + // TODO(kevinsawicki) Remove in 2.0 options.Get("detach", &detach); if (state.empty() && detach) state = "detach";