Replaced selector list in :not() with two compound selectors (FF 78 regression)

This commit is contained in:
squidfunk 2021-12-13 17:00:38 +01:00
parent dee2ba51bc
commit dea3ad86ce
4 changed files with 7 additions and 7 deletions

View File

@ -213,7 +213,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.17f42bbf.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.da79ceb7.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -174,8 +174,8 @@ export function mountCodeBlock(
/* Handle code annotations */
const container = el.closest([
":not(td.code) > .highlight", /* Code blocks */
".highlighttable" /* Code blocks with line numbers */
":not(td):not(.code) > .highlight",
".highlighttable"
].join(", "))
if (container instanceof HTMLElement) {
const list = findCandidateList(container)