ethanz5/scroller — comment on commit 3bf77b226c9ac4ed5834baeb192cd12a56da74fc
File:  line 0
By ethanz5:

Yes, that works just as well. But it needs to be getAttribute("data-scrollable"), because I don't think older browsers properly register the "data-" prefix. At least, that's what I've gathered.