git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit ef57cad1bc9a3842fd6e6c26bb9129b787743a6f

fallback to scrollIntoView if scrollIntoViewIfNeeded is not availabe

Dominic Tarr committed on 7/20/2016, 7:44:36 AM
Parent: 4933079a082563c40c9370cc82beab1aea4f11f6

Files changed

keyscroll.jschanged
keyscroll.jsView
@@ -17,9 +17,9 @@
1717 }
1818
1919 function selectChild(el) {
2020 if (!el) return
21- el.scrollIntoViewIfNeeded()
21+ (el.scrollIntoViewIfNeeded || el.scrollIntoView).call(el)
2222 el.focus()
2323 curMsgEl = el
2424 }
2525

Built with git-ssb-web