()
| 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 |