templates/default/fulldoc/html/js/app.js in yard-0.4.0 vs templates/default/fulldoc/html/js/app.js in yard-0.5.0

- old
+ new

@@ -1,6 +1,6 @@ function createSourceLinks() { - $('#method_details .source_code, #constructor_details .source_code, #method_missing_details .source_code'). + $('.method_details_list .source_code'). before("<span class='showSource'>[<a href='#' class='toggleSource'>View source</a>]</span>"); $('.toggleSource').toggle(function() { $(this).parent().next().slideDown(100); $(this).text("Hide source"); }, \ No newline at end of file