File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,16 @@ class SavedSations extends React.Component {
8989 this . state = {
9090 stations : StationStore . getData ( ) ,
9191 }
92+ this . triggerUpdate = this . triggerUpdate . bind ( this )
9293 }
9394 triggerUpdate ( ) {
9495 this . setState ( {
9596 stations : StationStore . getData ( )
9697 } )
9798 }
99+ componentDidMount ( ) {
100+ StationStore . bind ( 'change' , this . triggerUpdate )
101+ }
98102 componentWillUnmount ( ) {
99103 StationStore . unbind ( 'change' , this . triggerUpdate )
100104 }
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ $bgheight: 125px;
464464
465465.saveModal {
466466 -webkit-tap-highlight-color : transparent ;
467- position : fixed ;
467+ position : absolute ;
468468 top : 0 ;
469469 left : 0 ;
470470 width : 100% ;
You can’t perform that action at this time.
0 commit comments