MCPcopy Index your code
hub / github.com/zhongsp/TypeScript / updateThemeSelected

Function updateThemeSelected

docs/book.js:304–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302 }
303
304 function updateThemeSelected() {
305 themePopup.querySelectorAll('.theme-selected').forEach(function (el) {
306 el.classList.remove('theme-selected');
307 });
308 themePopup.querySelector("button#" + get_theme()).classList.add('theme-selected');
309 }
310
311 function hideThemes() {
312 themePopup.style.display = 'none';

Callers 1

set_themeFunction · 0.85

Calls 2

get_themeFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected