问题
I am trying to use twitter accordion in single page app but it has conflict with sammy.js
<a class="ac-toggle" data-toggle="collapse" data-parent="#ac2" href="#collapseOne">Company</a>
When I try to collapse it change the url. I have ignore the route in sammy.js but it did not work. Is there other method of this using jquery or ignore the route in sammy.js ?
this.get(/\#collapse(.*)/, function (cx, match) {
????
});
来源:https://stackoverflow.com/questions/14284022/twitter-bootstrap-accordion-not-working-with-sammy-js