File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ $(document).ready(function(){
143143 } ) ;
144144
145145 var menuIndexTop = $ ( '#menuIndex' ) . offset ( ) . top ;
146- var menuIndexLeft = $ ( '#menuIndex' ) . offset ( ) . left ;
147146
148147 $ ( window ) . scroll ( function ( ) {
149148 waitForFinalEvent ( function ( ) {
@@ -155,13 +154,11 @@ $(document).ready(function(){
155154 $ ( '#menuIndex' ) . css ( {
156155 position :'fixed'
157156 , top :'20px'
158- , left :menuIndexLeft
159157 } ) ;
160158 } else {
161159 $ ( '#menuIndex' ) . css ( {
162160 position :'static'
163161 , top :0
164- , left :0
165162 } ) ;
166163 }
167164
@@ -181,16 +178,6 @@ $(document).ready(function(){
181178 } ) ;
182179
183180 $ ( window ) . resize ( function ( ) {
184- $ ( '#menuIndex' ) . css ( {
185- position :'static'
186- , top :0
187- , left :0
188- } ) ;
189-
190- menuIndexTop = $ ( '#menuIndex' ) . offset ( ) . top ;
191- menuIndexLeft = $ ( '#menuIndex' ) . offset ( ) . left ;
192-
193- $ ( window ) . trigger ( 'scroll' )
194181 $ ( '#menuIndex' ) . css ( 'max-height' , $ ( window ) . height ( ) - 80 ) ;
195182 } ) ;
196183 } )
You can’t perform that action at this time.
0 commit comments