hiding sparks download message when using the chatgpt web interface. fixes #245

This commit is contained in:
mic 2025-02-02 21:56:31 +01:00
parent bfce05e4f7
commit fd034bce62

View file

@ -272,7 +272,7 @@ async function disable_GetCalendarEvent(){
get_calendar_event_tr_elements.forEach(get_calendar_event_tr => {
get_calendar_event_tr.style.display = get_calendar_event.disabled ? 'none' : 'table-row';
});
no_sparks_tr.style.display = is_spark_present ? 'none' : 'table-row';
no_sparks_tr.style.display = (is_spark_present || (conntype_select.value === "chatgpt_web")) ? 'none' : 'table-row';
}
document.addEventListener('DOMContentLoaded', async () => {