Skip to content

Commit a7f4bcf

Browse files
committed
Merge pull request #52 from possibilities/fix/camel-case-style-names
Use camelcase style names (Closes #49)
2 parents b61491a + 78737fb commit a7f4bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

coffee/utils.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ getScrollParent = (el) ->
1515

1616
return parent if not style?
1717

18-
if /(auto|scroll)/.test(style['overflow'] + style['overflow-y'] + style['overflow-x'])
18+
if /(auto|scroll)/.test(style['overflow'] + style['overflowY'] + style['overflowX'])
1919
if position isnt 'absolute' or style['position'] in ['relative', 'absolute', 'fixed']
2020
return parent
2121

0 commit comments

Comments
 (0)