add follow fot a tags
This commit is contained in:
parent
99c1b83133
commit
355da18d3d
4 changed files with 119 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import * as scrolls from './scrolls';
|
||||
import FooterLine from './footer-line';
|
||||
import Follow from './follow';
|
||||
import * as actions from '../shared/actions';
|
||||
|
||||
var footer = null;
|
||||
|
@ -52,6 +53,9 @@ const invokeEvent = (action) => {
|
|||
case actions.SCROLL_BOTTOM:
|
||||
scrolls.scrollBottom(window, action[1]);
|
||||
break;
|
||||
case actions.FOLLOW_START:
|
||||
new Follow(window.document, action[1] || false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue