From f050ca4374c8c4d9d4fa85e46a1dedaaaedec791 Mon Sep 17 00:00:00 2001 From: catvayor Date: Wed, 11 Dec 2024 15:34:42 +0100 Subject: [PATCH] fix: pretty no defaults --- static/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/script.js b/static/js/script.js index 56b633b..04234d7 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -293,7 +293,7 @@ var expandOption = function(el){ var elDesc = "
Description
" + parseDescription(currentSet[el].description) + "
"; var elType = "
Type
" + currentSet[el].type + "
"; //var elNote = ( currentSet[el].note == "" ? "": "
Note
" + currentSet[el].note + "
"); - var elDefault = "
Default
" + currentSet[el].default + "
"; + var elDefault = ( currentSet[el].default == "" ? "" : "
Default
" + currentSet[el].default + "
"); var elExample = ( currentSet[el].example == "" ? "" : "
Example
" + currentSet[el].example + "
"); //var declared_by_str = currentSet[el].declarations[0].name; -- 2.47.0