From 7f7e55176c6ac4662a17b4d6198cef1062e06e55 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 23 May 2018 13:40:46 -0400 Subject: [PATCH] Make melodic the default distro. (#249) Signed-off-by: Chris Lalancette --- custom/js/rosversion.js | 2 +- macro/Version.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom/js/rosversion.js b/custom/js/rosversion.js index d81b464..a60448a 100644 --- a/custom/js/rosversion.js +++ b/custom/js/rosversion.js @@ -72,7 +72,7 @@ function toggleDocStatus() } $(document).ready(function() { - var activedistro = "lunar"; //CHANGE THIS LINE TO CHANGE THE DISTRO DISPLAYED BY DEFAULT + var activedistro = "melodic"; //CHANGE THIS LINE TO CHANGE THE DISTRO DISPLAYED BY DEFAULT var url_distro = getURLParameter('distro'); if (url_distro) { activedistro=url_distro; diff --git a/macro/Version.py b/macro/Version.py index b5555cc..b529039 100644 --- a/macro/Version.py +++ b/macro/Version.py @@ -39,10 +39,10 @@ def execute(macro, args): if args: version = str(args) - if version.lower() == 'n-turtle': + if version.lower() == 'noetic': return ('' - 'Expected in N-Turtle') + 'Expected in Noetic Ninjemys') else: return (''