Skip to content

Commit bccef20

Browse files
author
joeltaylor
committed
Use boolean for load more conditional
1 parent f0a9e7f commit bccef20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

views/news/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ block content
7070
| )
7171
p.mbf= story.body
7272

73-
if flow_collection.length === 10
73+
if more
7474
.well.well--l.mbl.mbxl--m.tac
7575
button.btn.js-loadFeed-btn Load More
7676

0 commit comments

Comments
 (0)