diff --git a/index.html b/index.html
index 8697e86..f1130e7 100644
--- a/index.html
+++ b/index.html
@@ -434,7 +434,7 @@
-
+
@@ -468,7 +468,7 @@
src="js/ui/tool/generic.js?v=3e678e0"
type="text/javascript">
-
+
diff --git a/js/lib/util.js b/js/lib/util.js
index b41cf26..0607dcd 100644
--- a/js/lib/util.js
+++ b/js/lib/util.js
@@ -483,7 +483,6 @@ const makeElement = (
* @param {number}} blur
* @returns {HTMLCanvasElement}
*/
-
const subtractBackground = (canvas, bb, bgImg, blur = 0) => {
// set up temp canvases
const bgCanvas = document.createElement("canvas");
diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js
index 0ddc38f..03fabf2 100644
--- a/js/ui/tool/dream.js
+++ b/js/ui/tool/dream.js
@@ -534,9 +534,7 @@ const _generate = async (endpoint, request, bb, options = {}) => {
endpoint == "img2img" &&
toolbar._current_tool.state.removeBackground
) {
- //TODO SERIOUSLY CHECK FOR MORE THINGS HERE
canvas = subtractBackground(canvas, bb, dreamData.bgImg, 0);
- // do something else too probably idunno
}
commands.runCommand("drawImage", "Image Dream", {