aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hesla.js8
-rw-r--r--templates/czech.html4
-rw-r--r--templates/german.html5
3 files changed, 7 insertions, 10 deletions
diff --git a/hesla.js b/hesla.js
index f6cdc51..f769ce7 100644
--- a/hesla.js
+++ b/hesla.js
@@ -17,11 +17,9 @@ if (!Date.prototype.toISODateString) {
};
}());
+
}
var today_id = new Date().toISODateString();
-
-window.addEventListener("pageshow", function() {
- var today_losungen = document.getElementById(today_id);
- today_losungen.style.display = "block";
-}, false);
+var today_losungen = document.getElementById(today_id);
+today_losungen.style.display = "block";
diff --git a/templates/czech.html b/templates/czech.html
index 00f69f8..9052879 100644
--- a/templates/czech.html
+++ b/templates/czech.html
@@ -1,8 +1,6 @@
{% macro bible_url(ref, mod) %}
http://www.crosswire.org/study/passagestudy.jsp?key={{ ref.book }}+{{ ref.chapter }}%3A{{ ref.verse }}&mod={{ mod }}
{%- endmacro %}
-<!-- vi:ft=htmljinja
--->
<!DOCTYPE html>
<html manifest="hesla.appcache">
<head>
@@ -10,7 +8,7 @@
<meta content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" name="viewport"/>
<link href="screen.css" type="text/css" rel="stylesheet"/>
<title>Hesla Jednoty bratrské pro tento den</title>
- <script src="hesla.js" async="async" type="text/javascript" defer="defer">
+ <script src="hesla.js" type="text/javascript" defer="defer">
</script>
</head>
<body>
diff --git a/templates/german.html b/templates/german.html
index 0c8307e..421ff00 100644
--- a/templates/german.html
+++ b/templates/german.html
@@ -5,11 +5,12 @@
<meta content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" name="viewport"/>
<link href="screen.css" type="text/css" rel="stylesheet"/>
<title>Die Losungen der Herrnhuter Brüdergemeine</title>
- <script src="hesla.js" async="async" type="text/javascript" defer="defer">
+ <script src="hesla.js" type="text/javascript" defer="defer">
</script>
</head>
<body>
- <noscript>I am sorry, this really doesn't work without JavaScript.</noscript>
+ <noscript>Tut mir leid, aber diese Anwendung funktioniert wirklich
+ nicht ohne aktiviertes JavaScript!</noscript>
{% for art in articles %}
<article id="{{ art.date_id }}">
<header>