lib/rdoc/generator/template/rails/resources/js/main.js in sdoc-2.2.0 vs lib/rdoc/generator/template/rails/resources/js/main.js in sdoc-2.3.0

- old
+ new

@@ -29,10 +29,10 @@ document.addEventListener("turbolinks:load", function() { // Only initialize panel if not yet initialized if(!$('#panel .tree ul li').length) { $('#links').hide(); - var panel = new Searchdoc.Panel($('#panel'), search_data, tree, $('meta[name="data-rel-prefix"]').attr("content")); + var panel = new Searchdoc.Panel($('#panel'), search_data, tree); var s = window.location.search.match(/\?q=([^&]+)/); if (s) { s = decodeURIComponent(s[1]).replace(/\+/g, ' '); if (s.length > 0) { $('#search').val(s);