Fix race condition in the poll APP

pull/1/head
yflory 5 years ago
parent edce0e2d6d
commit 89aa2fe86c

@ -821,7 +821,9 @@ define([
UI.errorLoadingScreen(errorText); UI.errorLoadingScreen(errorText);
throw new Error(errorText); throw new Error(errorText);
} }
} else { }
if (!proxy.metadata || typeof(proxy.metadata.title) === "undefined") {
console.error("UPDATE TITLE");
Title.updateTitle(Title.defaultTitle); Title.updateTitle(Title.defaultTitle);
} }

Loading…
Cancel
Save