commit fce72d504ee16c74efb48abe578dc248d0a027e3 Author: Raphael Bergmann raphael@cc-ltd.net Date: Mon Jan 30 17:43:52 2017 +0100
Fixed tooltips not working after filtering the search results table --- js/views/search/do.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/js/views/search/do.js b/js/views/search/do.js index 13fe93c..4226dd8 100644 --- a/js/views/search/do.js +++ b/js/views/search/do.js @@ -157,12 +157,14 @@ define([ // Save the state of the tables "sDom": "<'row'<'span6'l><'span6 hide'f>r>t<'row'<'span6'i><'span6'p>>", "bStateSave": false, - "aaSorting": [] + "aaSorting": [], + "fnDrawCallback": function( oSettings ) { + // Make the tooltips + $(".flags").tooltip(); + $(".country").tooltip(); + $(".uptime").tooltip(); + } }); - // Make the tooltips - $(".flags").tooltip(); - $(".country").tooltip(); - $(".uptime").tooltip(); // Type ahead for country codes $('.typeahead').typeahead({source:_.values(CountryCodes)}); $('input#flags').typeahead({
tor-commits@lists.torproject.org