X-Git-Url: https://code.delx.au/comingnext/blobdiff_plain/037e8550464756cb214edef5d9d9174719c763fb..7462eb0578c84056fb0934aa0cbd1acb4873a993:/comingNext/index.html diff --git a/comingNext/index.html b/comingNext/index.html index 015dbae..f30cb7d 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -963,13 +963,18 @@ function updateScreen() log('updateScreen(): mode=' + mode + ', window.innerHeight=' + window.innerHeight); // check if opening fullscreen - if( window.innerHeight > 91 && mode == 0) { + + // Note: according to Nokia's documentation, an innerHeight of >91 is an indicator for fullscreen view. + // However a bug in E6's firmware causes different window widths and heights (disabled compatibility scaling). + // So far, values of 104 and 115 for window.innerHeight were reported, we use a safty margin here and check + // for 150 instead. + if( window.innerHeight > 150 && mode == 0) { mode = 1; cacheEntriesHtml = ''; document.getElementById('body').style.backgroundImage = ""; showFullscreen(); } - else if (window.innerHeight <= 91 && mode != 0) { + else if (window.innerHeight <= 150 && mode != 0) { mode = 0; cacheEntriesHtml = ''; showHomescreen(); @@ -1392,7 +1397,7 @@ function printHintBox(text) { uniqueId++; return '' + getLocalizedText('settings.help') + ''+ - '
' + text + '
'; + ''; } function showAbout()