Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 994fe9d

Browse files
committed
publish horizontal
1 parent 23708de commit 994fe9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

list/elements/polymer-virtual-list/polymer-virtual-list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<polymer-element name="polymer-virtual-list" attributes="count pageSize numPages">
1+
<polymer-element name="polymer-virtual-list" attributes="count pageSize numPages horizontal">
22
<template>
33
<link rel="stylesheet" href="polymer-virtual-list.css">
44
<div id="list" class="polymer-list-list" on-scroll="{{scroll}}">
@@ -199,7 +199,7 @@
199199
t += this.getPageHeight(n);
200200
n++;
201201
}
202-
return n;
202+
return t;
203203
},
204204
findPage: function(pageNum) {
205205
if (!this.retainPages || !this.pageCache[pageNum]) {

0 commit comments

Comments
 (0)