Skip to content

Commit

Permalink
Remove unsued commented out pieces of code
Browse files Browse the repository at this point in the history
  • Loading branch information
kezsulap committed Nov 21, 2024
1 parent 7a017b5 commit d56382a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resources/parse-v13.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ function add_button(name, action, label) {
ret.id = name
ret.innerHTML = '<div onclick=' + action.name + '()>' + label + '</div>'
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, '☀️');
Expand Down Expand Up @@ -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 += '<br>';
diff_content += '<div class="version"><div class="version_id">' + join_versions(versions) + ':</div><div class="version_content">' + content + '</div></div>'
}
return [true, diff_content]
Expand Down

0 comments on commit d56382a

Please sign in to comment.