call to changeScale() on page init when "scale to fit" is selected

pull/2950/head
Romain ODDONE 2020-06-02 17:25:07 +02:00
parent 92ba017328
commit a9c52a21ec
1 changed files with 1 additions and 1 deletions

View File

@ -849,7 +849,7 @@ function initPage() {
if ( refreshApplet && appletRefreshTime ) {
appletRefresh.delay(appletRefreshTime*1000);
}
if ( scale == 'auto' ) changeScale();
if ( scale == '0' || scale == 'auto' ) changeScale();
if ( window.history.length == 1 ) {
$j('#closeControl').html('');
}