mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-01 23:56:41 +02:00
Revert "Fix for rabbit hole"
This reverts commit a7b427c5ff41291c1c42c7edf4b27e6afe57015c.
This commit is contained in:
parent
a7b427c5ff
commit
5bd98d4aa0
@ -76,23 +76,12 @@ async function loadUIPlugins() {
|
||||
}
|
||||
const plugins = await res.json()
|
||||
const loadingPromises = plugins.map(loadScript)
|
||||
let x = await Promise.allSettled(loadingPromises)
|
||||
|
||||
runPluginHacks()
|
||||
|
||||
return x
|
||||
return await Promise.allSettled(loadingPromises)
|
||||
} catch (e) {
|
||||
console.log("error fetching plugin paths", e)
|
||||
}
|
||||
}
|
||||
|
||||
function runPluginHacks() {
|
||||
// hacks to make existing plugins work when changing the interface
|
||||
|
||||
// 16 Jul 2023 - v2.5.45 - hack for rabbit hole, lora field
|
||||
window.LORA_slider = document.querySelector("#lora_model_container .model_strength")
|
||||
}
|
||||
|
||||
|
||||
/* PLUGIN MANAGER */
|
||||
/* plugin tab */
|
||||
|
Loading…
x
Reference in New Issue
Block a user