summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-17 17:53:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-17 09:29:39 -0700
commit5d09244c0f7dc2376d9d7eeff5fba5fde96cc6e1 (patch)
tree2db8537ea562ac69b091c92184ec5127ece7bab2 /theme/list_lib.js
parenta5a946282021b5c31a68bc4d4bb0999f18d5032b (diff)
downloadsubsurface-5d09244c0f7dc2376d9d7eeff5fba5fde96cc6e1.tar.gz
HTML: fix the unclosed <ul> tag.
The <ul> tag must be closed as defined by the html specs. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 6ca82ea51..a2a50f8f5 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -47,7 +47,7 @@ function updateView(start, end)
var divelist = document.getElementById('diveslist');
divelist.innerHTML = "";
for (var i = start; i <= end; i++) {
- divelist.innerHTML += '<ul id="' + itemsToShow[i] + '" onclick="toggleExpantion(event, this)"</ul>';
+ divelist.innerHTML += '<ul id="' + itemsToShow[i] + '" onclick="toggleExpantion(event, this)"></ul>';
expand(document.getElementById(itemsToShow[i]));
items[itemsToShow[i]].expanded = true;
};
@@ -63,7 +63,7 @@ function addHTML(indexes)
var divelist = document.getElementById('diveslist');
divelist.innerHTML = "";
for (var i = 0; i < indexes.length; i++) {
- divelist.innerHTML += '<ul id="' + indexes[i] + '" onclick="toggleExpantion(event, this)"</ul>';
+ divelist.innerHTML += '<ul id="' + indexes[i] + '" onclick="toggleExpantion(event, this)"></ul>';
expand(document.getElementById(indexes[i]));
itemsToShow[indexes[i]].expanded = true;
};