mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
a5a9462820
commit
5d09244c0f
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ function updateView(start, end)
|
||||||
var divelist = document.getElementById('diveslist');
|
var divelist = document.getElementById('diveslist');
|
||||||
divelist.innerHTML = "";
|
divelist.innerHTML = "";
|
||||||
for (var i = start; i <= end; i++) {
|
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]));
|
expand(document.getElementById(itemsToShow[i]));
|
||||||
items[itemsToShow[i]].expanded = true;
|
items[itemsToShow[i]].expanded = true;
|
||||||
};
|
};
|
||||||
|
@ -63,7 +63,7 @@ function addHTML(indexes)
|
||||||
var divelist = document.getElementById('diveslist');
|
var divelist = document.getElementById('diveslist');
|
||||||
divelist.innerHTML = "";
|
divelist.innerHTML = "";
|
||||||
for (var i = 0; i < indexes.length; i++) {
|
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]));
|
expand(document.getElementById(indexes[i]));
|
||||||
itemsToShow[indexes[i]].expanded = true;
|
itemsToShow[indexes[i]].expanded = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue