This repository was archived by the owner on Dec 13, 2023. It is now read-only.
File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,13 @@ $(document).ready(enableHamburger);
127
127
128
128
$ ( document ) . ready ( function hideSummaryOnMobile ( ) {
129
129
if ( window . matchMedia ( "(max-width: 800px)" ) . matches ) {
130
- $ ( 'div.book' ) . toggleClass ( "without-summary" ) ;
131
- $ ( 'div.book' ) . toggleClass ( "with-summary" ) ;
130
+ $ ( 'div.book' )
131
+ . addClass ( "without-animation" )
132
+ . removeClass ( "with-summary" )
133
+ . addClass ( "without-summary" )
134
+ . offset ( ) ;
135
+ $ ( 'div.book' )
136
+ . removeClass ( "without-animation" ) ;
132
137
}
133
138
} )
134
139
Original file line number Diff line number Diff line change @@ -2764,10 +2764,12 @@ table {
2764
2764
overflow-y : auto;
2765
2765
color : # 000 ;
2766
2766
background : # fff ;
2767
+ /*
2767
2768
-webkit-transition:left 250ms ease;
2768
2769
-moz-transition:left 250ms ease;
2769
2770
-o-transition:left 250ms ease;
2770
2771
transition:left 250ms ease
2772
+ */
2771
2773
}
2772
2774
.book-body .body-inner {
2773
2775
position : absolute;
@@ -2779,10 +2781,12 @@ table {
2779
2781
}
2780
2782
@media (max-width : 1240px ) {
2781
2783
.book-body {
2784
+ /*
2782
2785
-webkit-transition:-webkit-transform 250ms ease;
2783
2786
-moz-transition:-moz-transform 250ms ease;
2784
2787
-o-transition:-o-transform 250ms ease;
2785
2788
transition:transform 250ms ease;
2789
+ */
2786
2790
padding-bottom : 20px
2787
2791
}
2788
2792
.book-body .body-inner {
You can’t perform that action at this time.
0 commit comments