简体   繁体   中英

mizzao:bootboxjs freeze my meteor app

I'm triying tu use bootboxjs in my meteor app.

This is what I'm doing:

Template.test.events({
  'click #logo': function(e, t) {
    e.preventDefault();

   bootbox.alert("Hello world!")
  }
});

When I click on "#logo" all my screen become "darker", a bootbox appear with "Hello world!" and OK button but no focus is set.

When I click on the OK button or outside the bootbox, nothing happens. My app is frozen.

What I'm doing wrong ?

Thx

Solved.

It was a bootstrap CSS file conflict.

I had an old version of bootstrap in my project.

Removing the old css solved this situation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM