mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 12:43:31 +03:00
sein
This commit is contained in:
parent
5078ac8161
commit
ae268b1877
@ -57,8 +57,8 @@ Links = React.createFactory query {
|
|||||||
if sein is "/" then sein = ""
|
if sein is "/" then sein = ""
|
||||||
if prev or next then _.filter [
|
if prev or next then _.filter [
|
||||||
div {id:"sides",key:"sides"},
|
div {id:"sides",key:"sides"},
|
||||||
if prev then @renderArrow "prev", "#{@props.sein}/#{prev}"
|
if prev then @renderArrow "prev", "#{sein}/#{prev}"
|
||||||
if next then @renderArrow "next", "#{@props.sein}/#{next}"
|
if next then @renderArrow "next", "#{sein}/#{next}"
|
||||||
]
|
]
|
||||||
|
|
||||||
toText: (elem)-> reactify.walk elem,
|
toText: (elem)-> reactify.walk elem,
|
||||||
|
@ -150,7 +150,7 @@ Links = React.createFactory(query({
|
|||||||
div({
|
div({
|
||||||
id: "sides",
|
id: "sides",
|
||||||
key: "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)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user