Browse Source

fold UI update

dev
thuhole 5 years ago
parent
commit
a5240c6f2c
  1. 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={

Loading…
Cancel
Save