Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor eu improvements

  • Loading branch information...
commit d1812b76cf310f8605f236c3c61cbf5c844e4aaf 1 parent 9760f34
Krzysztof Kowalczyk authored
2  www/software/sumatrapdf/free-pdf-reader-eu.html
View
@@ -40,7 +40,7 @@ <h1 style="display:inline;">Sumatra PDF <font size="-1">Windowserako PDF, MOBI,
<h2 id="download">Jeitsi</h2>
<p>
- Jeitsi <a href="download.html">hemendik</a>.
+ Jeitsi <a href="download-free-pdf-viewer-eu.html">hemendik</a>.
</p>
<h2 id="moreinfo">Argibide gehiago</h2>
3  www/software/sumatrapdf/sumatra.js
View
@@ -303,12 +303,11 @@ function forceRedirectToLang(lang) {
window.location = urlFromBaseUrlLang(baseUrl, lang);
}
-// TODO: should also redirect from non-english pages for consistency?
function autoRedirectToTranslated() {
var tmp = getBaseUrlAndLang();
var baseUrl = tmp[0];
var pageLang = tmp[1];
- // only redirect if we
+ // only redirect if we're on an english page
if (!isEng(pageLang)) {
alert("autoRedirectToTranslated() called from non-english page");
return;
Please sign in to comment.
Something went wrong with that request. Please try again.