codex: fix CI failure on PR #13820

This commit is contained in:
Ahmed Ibrahim
2026-03-07 12:12:59 -08:00
parent 31604b4afd
commit 568de22b6f

View File

@@ -3759,6 +3759,10 @@ impl ChatComposer {
self.status_line_enabled = enabled;
true
}
pub(crate) fn transcription_placeholder_exists(&self, id: &str) -> bool {
self.textarea.named_element_range(id).is_some()
}
}
#[cfg(not(target_os = "linux"))]
@@ -4036,10 +4040,6 @@ impl ChatComposer {
id
}
pub(crate) fn transcription_placeholder_exists(&self, id: &str) -> bool {
self.textarea.named_element_range(id).is_some()
}
pub fn remove_transcription_placeholder(&mut self, id: &str) {
self.stop_transcription_spinner(id);
let _ = self.textarea.replace_element_by_id(id, "");