MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / activateSelectedRow

Function activateSelectedRow

codeclash/viewer/static/js/picker.js:744–755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

742}
743
744function activateSelectedRow() {
745 if (
746 currentSelectedIndex >= 0 &&
747 currentSelectedIndex < allNavigableRows.length
748 ) {
749 const selectedRow = allNavigableRows[currentSelectedIndex];
750 const folderPath = selectedRow.getAttribute("data-path");
751
752 // Open game
753 openGame(folderPath);
754 }
755}
756
757// Filtering functionality
758let allGameRows = [];

Callers 1

handleKeyboardNavigationFunction · 0.85

Calls 1

openGameFunction · 0.85

Tested by

no test coverage detected