This commit is contained in:
Galen Wolfe-Pauly 2015-10-20 19:07:13 -07:00
parent 5078ac8161
commit ae268b1877
2 changed files with 3 additions and 3 deletions

View File

@ -57,8 +57,8 @@ Links = React.createFactory query {
if sein is "/" then sein = ""
if prev or next then _.filter [
div {id:"sides",key:"sides"},
if prev then @renderArrow "prev", "#{@props.sein}/#{prev}"
if next then @renderArrow "next", "#{@props.sein}/#{next}"
if prev then @renderArrow "prev", "#{sein}/#{prev}"
if next then @renderArrow "next", "#{sein}/#{next}"
]
toText: (elem)-> reactify.walk elem,

View File

@ -150,7 +150,7 @@ Links = React.createFactory(query({
div({
id: "sides",
key: "sides"
}, prev ? this.renderArrow("prev", this.props.sein + "/" + prev) : void 0, next ? this.renderArrow("next", this.props.sein + "/" + next) : void 0)
}, prev ? this.renderArrow("prev", sein + "/" + prev) : void 0, next ? this.renderArrow("next", sein + "/" + next) : void 0)
]);
}
}