Skip to content

Commit

Permalink
#312 fixed "expand all"
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Aug 13, 2024
1 parent 50b3ed8 commit 369c606
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions chrome/content/help-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ async function initHTML() {
// functions from help.js
fixClipboardNote();
initSearch();
const expander = document.getElementById("allexpander");
expander.addEventListener("click", evt => {
expandAll(evt);}
);
}


Expand All @@ -14,3 +18,4 @@ if (findOrigin() == "html") {
// this was called from settings.html (and not from the XUL dialog)
initHTML();
}

7 changes: 0 additions & 7 deletions chrome/content/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
var code = evt.target;

if (code && code.classList.contains("helpchapter")) {
/*
// not needed
var newClick = new MouseEvent('click', { view: window, bubbles: false, cancelable: true })
window.setTimeout( function clickHelpChapter() {
code.dispatchEvent(newClick);
}, 25);
*/
return;
}

Expand Down
1 change: 1 addition & 0 deletions chrome/content/smartTemplate-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ END LICENSE BLOCK
# Removed font dependence in icons (converted all texts to path)
# use keydown instead of deprecated keypress events
# [issue 311] Template functions don't work when writing a new message in a newsgroup account
# [issue 312] "expand all" inside new settings variables page doesn't work
=========================
Expand Down

0 comments on commit 369c606

Please sign in to comment.