summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/list_lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index a6f1fcb71..bf5ad014a 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -170,7 +170,7 @@ function unexpand(ul){
//////////////////////////////////////
function getlimited (dive) {
- return '<div style="height:20px"><div class="item">'+dive.subsurface_number+'</div>'+
+ return '<div style="height:20px"><div class="item">'+(settings.subsurfaceNumbers==='0'?dive.number:dive.subsurface_number)+'</div>'+
'<div class="item">'+dive.date+'</div>'+
'<div class="item">'+dive.time+'</div>'+
'<div class="item_large">'+dive.location+'</div>'+