Fix unused variables

This commit is contained in:
Aarni Koskela
2023-04-30 22:12:24 +03:00
parent 8ccc27127b
commit f6a40a2ffa
9 changed files with 14 additions and 21 deletions

View File

@@ -1,7 +1,6 @@
window.onload = (function(){
window.addEventListener('drop', e => {
const target = e.composedPath()[0];
const idx = selected_gallery_index();
if (target.placeholder.indexOf("Prompt") == -1) return;
let prompt_target = get_tab_index('tabs') == 1 ? "img2img_prompt_image" : "txt2img_prompt_image";