brouter-web/js/control/Tabs.js
2015-03-06 17:21:53 +01:00

14 lines
291 B
JavaScript

BR.Tabs = BR.Control.extend({
options: {
divId: 'tabs_div'
},
onAdd: function (map) {
$('#tab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
return BR.Control.prototype.onAdd.call(this, map);
}
});