File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -165,17 +165,15 @@ function load_hash(no_refresh) {
165165
166166 $ . extend ( true , wvar , def ) ;
167167 if ( map ) {
168- if ( wvar [ "box" ] != def [ "box" ] ) {
169- if ( ! def [ "box" ] ) {
170- $ ( ".flatpage" ) . hide ( )
171- } else {
172- $ ( ".flatpage" ) . hide ( )
173- $ ( "#" + def [ "box" ] ) . show ( )
174- }
175- checkSize ( ) ;
176- wvar [ "box" ] = def [ "box" ] ;
177-
168+ if ( ! def [ "box" ] ) {
169+ $ ( ".flatpage" ) . hide ( )
170+ } else {
171+ $ ( ".flatpage" ) . hide ( )
172+ $ ( "#" + def [ "box" ] ) . show ( )
178173 }
174+ checkSize ( ) ;
175+ wvar [ "box" ] = def [ "box" ] ;
176+
179177 // force refresh
180178 if ( ! no_refresh ) {
181179 if ( refresh ) {
@@ -686,6 +684,9 @@ $(window).ready(function() {
686684 } else {
687685 wvar . box = null
688686 }
687+ console . log ( "aaa" )
688+ console . log ( wvar . box )
689+ console . log ( "bbbb" )
689690 lhash_update ( true ) ;
690691 checkSize ( ) ;
691692 } ) ;
You can’t perform that action at this time.
0 commit comments