MCPcopy Index your code
hub / github.com/csev/py4e / reFocus

Function reFocus

tools/pythonauto/static/codemirrorepl/codemirror.js:2363–2363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2361
2362 // Prevent clicks in the scrollbars from killing focus
2363 function reFocus() { if (cm.state.focused) setTimeout(bind(focusInput, cm), 0); }
2364 on(d.scrollbarH, "mousedown", reFocus);
2365 on(d.scrollbarV, "mousedown", reFocus);
2366 // Prevent wrapper from ever scrolling

Callers

nothing calls this directly

Calls 1

bindFunction · 0.70

Tested by

no test coverage detected