X-Git-Url: https://code.delx.au/comingnext/blobdiff_plain/8a865c16f5b71b36acf3a5269518e6f3a6592d98..ac033731e1c7cf12d955ba75ea0835b4deed7742:/comingNext/index.html diff --git a/comingNext/index.html b/comingNext/index.html index cdf09a2..1e2f2a3 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -960,16 +960,21 @@ function updateData() // called by handleOnShow() and onResize events function updateScreen() { - log('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(); @@ -1780,6 +1785,7 @@ hr { color:#ffffff; background-color:#ffffff; height:1px; text-align:left; borde

Francisco Rodero (Catalan translation)

zbigzbig20 (Polish translation)

Streamkeskus (Finnish translation)

+

renek (Czech translation)

This software is open source and licensed under the GPLv3.

Visit comingnext.sf.net for free updates.