forked from newthuhole/hole_thu_frontend
minor change
This commit is contained in:
@@ -604,6 +604,7 @@ export class Flow extends PureComponent {
|
||||
if(this.state.mode==='list') {
|
||||
API.get_list(page,this.props.token)
|
||||
.then((json)=>{
|
||||
if(page===1)
|
||||
json.data.forEach((x)=>{
|
||||
if(parseInt(x.pid,10)>(parseInt(localStorage['_LATEST_POST_ID'],10)||0))
|
||||
localStorage['_LATEST_POST_ID']=x.pid;
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
flex: 0 0 2em;
|
||||
text-align: center;
|
||||
color: black;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.control-btn:hover {
|
||||
background-color: #555555;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.control-btn .icon:before {
|
||||
|
||||
Reference in New Issue
Block a user