Skip to content

Commit 3ec9e97

Browse files
committed
update comment
1 parent 511e1c5 commit 3ec9e97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/event/index.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import { scrollIntoView, scroll2Top } from './scroll';
88
* route change it re-initializes the events because the sidebar is re-rendered
99
* each time we go to a new page.
1010
*/
11-
// TODO @trusktr, this should need to re-initialize events, and the sidebar
12-
// should not be re-rendered each time.
11+
// TODO @trusktr, this should not need to re-initialize events, and the sidebar
12+
// should not be re-rendered each time we navigate to a new page unless there is
13+
// a new sidebar.md file for that page.
1314
export function eventMixin(Base = class {}) {
1415
return class extends Base {
1516
$resetEvents(source) {

0 commit comments

Comments
 (0)