mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
codex: fix CI failure on PR #13820
This commit is contained in:
@@ -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, "");
|
||||
|
||||
Reference in New Issue
Block a user