X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/ad84791b951f4ebdfae9c6bf0a54244a8b5c8f16..34d0bf15a6f4009de376ceed1d7d5cca24a8dfe7:/doc/js/app.js?ds=inline diff --git a/doc/js/app.js b/doc/js/app.js index 3bbd61e..c150289 100644 --- a/doc/js/app.js +++ b/doc/js/app.js @@ -103,28 +103,34 @@ function keyboardShortcuts() { function summaryToggle() { $('.summary_toggle').click(function() { - localStorage.summaryCollapsed = $(this).text(); - $(this).text($(this).text() == "collapse" ? "expand" : "collapse"); - var next = $(this).parent().parent().nextAll('ul.summary').first(); - if (next.hasClass('compact')) { - next.toggle(); - next.nextAll('ul.summary').first().toggle(); - } - else if (next.hasClass('summary')) { - var list = $('