File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1973,7 +1973,10 @@ function loadAllUrlParameters(urlParams = new URLSearchParams(window.location.se
19731973 let hasProfileData = false ;
19741974
19751975 // Rendering-only flag.
1976- if ( urlParams . has ( 'showRenderingOnly' ) && urlParams . get ( 'showRenderingOnly' ) !== 'false' ) {
1976+ if ( urlParams . has ( 'showRenderingOnly' )
1977+ && urlParams . get ( 'showRenderingOnly' ) !== 'false'
1978+ && urlParams . get ( 'showRenderingOnly' ) !== '0'
1979+ ) {
19771980 // disable all UI elements that are not part of the rendering container
19781981 document . body . classList . add ( 'rendering-only' ) ;
19791982 // enable "Full Page" button
@@ -1983,7 +1986,10 @@ function loadAllUrlParameters(urlParams = new URLSearchParams(window.location.se
19831986 }
19841987 }
19851988 // trigger event of the checkbox for "Full screen UI" to hide header and footer
1986- if ( urlParams . has ( 'hideFooterAndHeader' ) && urlParams . get ( 'hideFooterAndHeader' ) !== 'false' ) {
1989+ if ( urlParams . has ( 'hideFooterAndHeader' )
1990+ && urlParams . get ( 'hideFooterAndHeader' ) !== 'false'
1991+ && urlParams . get ( 'hideFooterAndHeader' ) !== '0'
1992+ ) {
19871993 const checkbox = document . getElementById ( 'hideFooterAndHeader' ) ;
19881994 if ( checkbox ) {
19891995 checkbox . checked = true ;
You can’t perform that action at this time.
0 commit comments