reload charts on firefox when tabs are switched

This commit is contained in:
Lee Lawlor committed 2014-04-14 20:52:56 -04:00
1 parent f317d06653
commit 484959298c
5 files changed
+36 -8

No files matched your search

+8 -7
View File
@@ -100,13 +100,14 @@ $(function () {
else {
$("#watchText").text("Watch");
}
$("#maincontent").tabs( {
select: function( e, ui)
{
$.cookie('stickyTab', ui.index );
}
}
);
$("#maincontent").tabs({
select: function( e, ui) {
$.cookie('stickyTab', ui.index );
},
activate: function( event, ui ) {
reloadCharts();
}
});
stickyTab = $.cookie( 'stickyTab' );
anchor = window.location.hash;