mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
fix gallery, update js logging, add en caching
This commit is contained in:
@@ -62,9 +62,9 @@ const contextMenuInit = () => {
|
||||
});
|
||||
}
|
||||
|
||||
function addContextMenuEventListener() {
|
||||
async function addContextMenuEventListener() {
|
||||
if (eventListenerApplied) return;
|
||||
console.log('initContextMenu');
|
||||
log('initContextMenu');
|
||||
gradioApp().addEventListener('click', (e) => {
|
||||
if (!e.isTrusted) return;
|
||||
const oldMenu = gradioApp().querySelector('#context-menu');
|
||||
|
||||
Reference in New Issue
Block a user