diff --git a/js/functions.js b/js/functions.js index f745e8c106..38a5cc3f75 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1974,8 +1974,10 @@ $(document).ready(function() { } }); +$(document).ready(initTooltips); + /* Displays tooltips */ -$(document).ready(function() { +function initTooltips() { // Hide the footnotes from the footer (which are displayed for // JavaScript-disabled browsers) since the tooltip is sufficient $(".footnotes").hide(); @@ -2001,7 +2003,7 @@ $(document).ready(function() { style: { background: '#ffffcc' } }); }); -}); +} function menuResize() { diff --git a/js/server_status.js b/js/server_status.js index abe30a60bc..8259d53b03 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -49,6 +49,7 @@ $(function() { switch(tab.attr('id')) { case 'statustabs_traffic': tab.html(data); + initTooltips(); $('#statustabs_traffic .statuslinks a').click(function() { return refreshHandler(this); }); break; case 'statustabs_queries':