From d56382a2a7304974c8cd20e3eccafa92287a476e Mon Sep 17 00:00:00 2001 From: Konrad Paluszek Date: Thu, 21 Nov 2024 13:24:56 +0100 Subject: [PATCH] Remove unsued commented out pieces of code --- resources/parse-v13.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/parse-v13.js b/resources/parse-v13.js index 2b8d886..df125d7 100644 --- a/resources/parse-v13.js +++ b/resources/parse-v13.js @@ -575,7 +575,6 @@ function add_button(name, action, label) { ret.id = name ret.innerHTML = '
' + label + '
' topmenu.appendChild(ret) - // topmenu.children[topmenu.children.length - 1].addEventListener('click', action) } function add_theme_switch_node() { add_button('theme_switch_button', handle_theme_switch, '☀️'); @@ -709,7 +708,6 @@ function diff_meanings(contents) { //[[version_name, value], ...] } let diff_content = '' for (let [content, versions] of by_content) { - // if (diff_content) diff_content += '
'; diff_content += '
' + join_versions(versions) + ':
' + content + '
' } return [true, diff_content]