Commit 5a25826d authored by AlUlkesh's avatar AlUlkesh
Browse files

try both versions of appendChild

parent 9ecf3471
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -251,8 +251,11 @@ document.addEventListener("DOMContentLoaded", function() {

    modal.appendChild(modalNext)

    gradioApp().body.appendChild(modal)

    try {
		gradioApp().appendChild(modal);
	} catch (e) {
		gradioApp().body.appendChild(modal);
	}

    document.body.appendChild(modal);