diff options
-rw-r--r-- | theme/list_lib.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js index a5368bd58..0d84516d2 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -626,7 +626,7 @@ function unexpand_trip(trip) { trips[trip].expanded = false; var d = document.getElementById("trip_dive_list_" + trip); - d.innerHTML =''; + d.innerHTML = ''; } function getItems() @@ -995,8 +995,8 @@ function showDiveDetails(dive) function setDiveTitle(dive) { - document.getElementById("dive_no").innerHTML="Dive No. " + (settings.subsurfaceNumbers === '0'? - dive.number : dive.subsurface_number); + document.getElementById("dive_no").innerHTML = "Dive No. " + (settings.subsurfaceNumbers === '0' ? + dive.number : dive.subsurface_number); document.getElementById("dive_location").innerHTML = dive.location; } |