harmslab / TreeViewer

Interactive Evolutionary Tree Viewer using D3.js
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

Options dropdown is broken in most browsers #34

Closed Zsailer closed 9 years ago

Zsailer commented 9 years ago

Unfortunately, I've only been testing the TreeViewer in Chrome and missed this mistake for other browsers. The problem lies somewhere between Bootstrap and JQuery. The namespace of JQuery's .on seems to change (for some unknown reason) when referring to Bootstrap's dropdown objects in different browsers. For example, in

$.on("hidden.bs.dropdown", function(){
    console.log(event)
});

the event object is completely different in chrome compared to other browsers. It's causing the dropdown to break in the options menu.

Zsailer commented 9 years ago

This problem is fixed in the new PR #35.