diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index e6d0b587..679e0ec0 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -964,7 +964,14 @@ static void DrawContents() ImGui::EndCombo(); } } +#ifdef __EMSCRIPTEN__ + ImGui::BeginDisabled(); +#endif connectClicked |= ImGui::Button( ICON_FA_WIFI " Connect" ); +#ifdef __EMSCRIPTEN__ + ImGui::EndDisabled(); + connectClicked = false; +#endif if( connectClicked && *addr && !loadThread.joinable() ) { auto aptr = addr;