Skip to content

Commit dea3ad8

Browse files
committed
Replaced selector list in :not() with two compound selectors (FF 78 regression)
1 parent dee2ba5 commit dea3ad8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

material/assets/javascripts/bundle.17f42bbf.min.js renamed to material/assets/javascripts/bundle.da79ceb7.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/javascripts/bundle.17f42bbf.min.js.map renamed to material/assets/javascripts/bundle.da79ceb7.min.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
</script>
214214
{% endblock %}
215215
{% block scripts %}
216-
<script src="{{ 'assets/javascripts/bundle.17f42bbf.min.js' | url }}"></script>
216+
<script src="{{ 'assets/javascripts/bundle.da79ceb7.min.js' | url }}"></script>
217217
{% for path in config["extra_javascript"] %}
218218
<script src="{{ path | url }}"></script>
219219
{% endfor %}

src/assets/javascripts/components/content/code/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ export function mountCodeBlock(
174174

175175
/* Handle code annotations */
176176
const container = el.closest([
177-
":not(td.code) > .highlight", /* Code blocks */
178-
".highlighttable" /* Code blocks with line numbers */
177+
":not(td):not(.code) > .highlight",
178+
".highlighttable"
179179
].join(", "))
180180
if (container instanceof HTMLElement) {
181181
const list = findCandidateList(container)

0 commit comments

Comments
 (0)