File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,13 @@ <h2>Contribute</h2>
9898 < div class ="slimContainer ">
9999 < h2 > < i class ="icon-settings rfloat "> </ i > Settings</ h2 >
100100 < hr />
101+ < div class ="row option ">
102+ < span > < b > Hide welcome on startup</ b > </ span >
103+ < div class ="switch off " id ="sw_nowelcome ">
104+ < span class ="thumb "> </ span >
105+ < input type ="checkbox " id ="opt_nowelcome ">
106+ </ div >
107+ </ div >
101108 < div class ="row option ">
102109 < span > < b > Imperial units</ b > </ span >
103110 < div class ="switch off " id ="sw_imperial ">
Original file line number Diff line number Diff line change @@ -626,7 +626,8 @@ $(window).ready(function() {
626626 "#sw_daylight" ,
627627 "#sw_hide_receivers" ,
628628 "#sw_hide_timebox" ,
629- "#sw_hilight_vehicle"
629+ "#sw_hilight_vehicle" ,
630+ "#sw_nowelcome" ,
630631 ] ;
631632
632633 // applies functionality when switches are toggled
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ function load() {
464464 } ) ;
465465
466466 // if we there is enough screen space open aboutbox on startup
467- if ( ! is_mobile && $ ( window ) . width ( ) > 900 ) $ ( '.nav li.about' ) . click ( ) ;
467+ if ( ! is_mobile && ! offline . get ( 'opt_nowelcome' ) && $ ( window ) . width ( ) > 900 ) $ ( '.nav li.about' ) . click ( ) ;
468468
469469 } , 500 ) ;
470470
You can’t perform that action at this time.
0 commit comments