We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e213d1c commit 39f385aCopy full SHA for 39f385a
src/ui-scroll.coffee
@@ -143,11 +143,11 @@ angular.module('ui.scroll', [])
143
144
topPadding = new Padding template.localName
145
element.before topPadding
146
- viewport.topPadding = -> topPadding.height arguments
+ viewport.topPadding = (height) -> topPadding.height height
147
148
bottomPadding = new Padding template.localName
149
element.after bottomPadding
150
- viewport.bottomPadding = -> bottomPadding.height arguments
+ viewport.bottomPadding = (height) -> bottomPadding.height height
151
152
viewport.bottomDataPos = ->
153
(viewport[0].scrollHeight ? viewport[0].document.documentElement.scrollHeight) - bottomPadding.height()
0 commit comments