Skip to content

Commit b68573f

Browse files
committed
adjust
1 parent 1dc0c5d commit b68573f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/js-scroll-effect-module.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ export default class SCROLL_EFFECT_MODULE {
7373
}
7474

7575
Update(){
76-
this._CacheDom();
77-
this._CacheDomSize();
7876
this._SetDom();
7977
}
8078

@@ -118,14 +116,6 @@ export default class SCROLL_EFFECT_MODULE {
118116
}, this.config.throttleInterval), {passive: true});
119117
}
120118

121-
_CacheDom(){
122-
this.$targetElements = DOM.selectDom(this.config.target);
123-
}
124-
125-
_CacheDomSize(){
126-
this.NumWindowHeight = window.innerHeight;
127-
}
128-
129119
_SetDom(){
130120
this.state.PosList = [];
131121

0 commit comments

Comments
 (0)