forked from newthuhole/hole_thu_frontend
fold UI update
This commit is contained in:
11
src/Flows.js
11
src/Flows.js
@@ -662,9 +662,9 @@ class FlowItemRow extends PureComponent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
reveal() {
|
// reveal() {
|
||||||
this.setState({ hidden: false });
|
// this.setState({ hidden: false });
|
||||||
}
|
// }
|
||||||
|
|
||||||
load_replies(callback, update_count = true) {
|
load_replies(callback, update_count = true) {
|
||||||
console.log('fetching reply', this.state.info.pid);
|
console.log('fetching reply', this.state.info.pid);
|
||||||
@@ -829,7 +829,10 @@ class FlowItemRow extends PureComponent {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="flow-item-row flow-item-row-with-prompt"
|
className="flow-item-row flow-item-row-with-prompt"
|
||||||
onClick={() => this.reveal()}
|
onClick={(event) => {
|
||||||
|
if (!CLICKABLE_TAGS[event.target.tagName.toLowerCase()])
|
||||||
|
this.show_sidebar();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
|
|||||||
Reference in New Issue
Block a user