Skip to content

Commit 38e504f

Browse files
Remove TODO for passing state
It looks like the page and simultaneousPages can be undefined, so better to avoid overwrite data with undefined
1 parent 80d0740 commit 38e504f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Resources/Public/JavaScript/PageView/Controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ class dlfController {
124124
* @param {dlf.StateChangeDetail} detail
125125
*/
126126
changeState(detail) {
127-
// TODO(client-side): Consider passing full new state in stateChanged event, then reduce usage of currentPageNo and simultaneousPages properties
128127
if (detail.page !== undefined) {
129128
this.doc.state.page = detail.page;
130129
}

0 commit comments

Comments
 (0)