diff --git a/tools/sync-docs.py b/tools/sync-docs.py index ab10413c3a..0a14108bfc 100755 --- a/tools/sync-docs.py +++ b/tools/sync-docs.py @@ -26,7 +26,7 @@ $(document).ready(function() { $.each( data, function(_, version) { if (version == dirname) { items.push( ""); - } else if (dirname == "latest" && version == data[0]) { + } else if (dirname == "latest" && version == data[1]) { items.push( ""); } else { items.push( "");