File size: 611 Bytes
f4a41d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(function () {
    // mouseover tooltips for various UI elements
    const titles = {
        '🔄': 'Refresh saves',
        '💾': 'save',
        '\uD83D\uDCD2\u200B': 'load saves',
        '\uD83D\uDCD2\u200D': 'load prompts from Civitai extension',
        '🔢': 'add index to prompt and checkpoints',
        
    };

    onUiUpdate(function () {
        gradioApp().querySelectorAll('.batch-checkpoint-prompt').forEach(function (button) {
            const tooltip = titles[button.textContent];
            if (tooltip) {
                button.title = tooltip;
            }
        })
    });
})();