Skip to content

Commit

Permalink
para issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfarmer committed Jan 25, 2023
1 parent 9ddfd5a commit 290a9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knowl.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function knowl_click_handler($el) {
// the '.is("p")' is for the first paragraph of a theorem or proof
} else if ($el.parent().prop("tagName").startsWith("MJX")) {
where_it_goes = $el.closest("mjx-container")
} else if ($el.parent().css('display') == "block" || $el.parent().is("p") || $el.parent().hasClass("hidden-knowl-wrapper") || $el.parent().hasClass("kohere")) {
} else if ($el.parent().css('display') == "block" || $el.parent().is("p") || $el.parent().hasClass("para") || $el.parent().hasClass("hidden-knowl-wrapper") || $el.parent().hasClass("kohere")) {
where_it_goes = $el.parent();
} else if ($el.parent().parent().css('display') == "block" || $el.parent().parent().is("p") || $el.parent().parent().hasClass("hidden-knowl-wrapper") || $el.parent().parent().hasClass("kohere")) {
where_it_goes = $el.parent().parent();
Expand Down

0 comments on commit 290a9d7

Please sign in to comment.