MCPcopy Create free account
hub / github.com/crizmo/KAnki / updateLevelDisplay

Function updateLevelDisplay

kanki/main.js:580–591  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

578
579
580function updateLevelDisplay() {
581 var levelDisplayElement = document.getElementById("levelDisplay");
582 var displayText = (currentLevel === "all" ? "All" : currentLevel);
583
584 if (showingStarredOnly) {
585 displayText += " ★";
586 }
587
588 displayText += " • " + (isReversedMode ? "Native→Target" : "Target→Native");
589
590 levelDisplayElement.textContent = displayText;
591}
592
593// Function to check if card content is scrollable and update visual indicators
594function updateScrollIndicators() {

Callers 5

handleViewportChangeFunction · 0.85
updateProgressDisplayFunction · 0.85
changeLevelFunction · 0.85
endStarredReviewFunction · 0.85
toggleStarredFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected