Deblok-Workshop / NewDeblok

The New Deblok.
GNU General Public License v3.0
11 stars 17 forks source link

[ 🐛 ] Containers only register to start after the create session modal gets reopened #6

Closed uhidontkno closed 4 months ago

uhidontkno commented 4 months ago

shitty fix but it works

function item(title, description, icon, buttons = ["OK", "Cancel"],launchSession) {
  (()=>{
    window.btnReturn = ""
    itemModal(title, description,icon,buttons);
    setInterval(()=>{
      if (window.btnReturn == "clickedbtn0") {
        makeSession(launchSession)
      }
    },150)

  })();

}
IncognitoTGT commented 4 months ago

you die tonight