Merge "[ui] Put error message in omnibox attrs, not in the selector." into main
diff --git a/ui/src/frontend/app.ts b/ui/src/frontend/app.ts
index bdd93f8..1ce9074 100644
--- a/ui/src/frontend/app.ts
+++ b/ui/src/frontend/app.ts
@@ -408,12 +408,10 @@
if (msgTTL > 0 || engineIsBusy) {
setTimeout(() => raf.scheduleFullRedraw(), msgTTL * 1000);
return m(
- `.omnibox.message-mode`,
- m(`input[placeholder=${
- globals.state.status.msg}][readonly][disabled][ref=omnibox]`,
- {
- value: '',
- }));
+ `.omnibox.message-mode`, m(`input[readonly][disabled][ref=omnibox]`, {
+ value: '',
+ placeholder: globals.state.status.msg,
+ }));
}
if (this.omniboxMode === OmniboxMode.Command) {