Skip to content

Commit 97815ac

Browse files
authored
Apply suggestions from code review
1 parent 682b4d6 commit 97815ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/js/components/dropdowns/hetero-list.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function convertInputsToButtons(e) {
3838
});
3939
}
4040

41-
function udpateTopButton(container) {
41+
function updateTopButton(container) {
4242
if (container.getAttribute("enableTopButton") === "true") {
4343
let children = Array.from(container.children).filter(function (n) {
4444
return (
@@ -65,7 +65,7 @@ function generateButtons() {
6565
n = n.closest(".repeated-chunk");
6666
if (n.classList.contains("hetero-list-chunk")) {
6767
const container = n.closest(".hetero-list-container");
68-
udpateTopButton(container);
68+
updateTopButton(container);
6969
}
7070
});
7171
},
@@ -197,7 +197,7 @@ function generateButtons() {
197197
Behaviour.applySubtree(nc, true);
198198
ensureVisible(nc);
199199
nc.classList.remove("fade-in");
200-
udpateTopButton(c);
200+
updateTopButton(c);
201201
layoutUpdateCallback.call();
202202
},
203203
true,

0 commit comments

Comments
 (0)