From 0116320d2cd5a94da1c84125aa8c42568580dc6f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 7 Feb 2015 11:04:10 -0800 Subject: [PATCH] Strip slashes off the front of tooltips --- Marlin/configurator/js/configurator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/configurator/js/configurator.js b/Marlin/configurator/js/configurator.js index a31b908c5c..e0319b4ae3 100644 --- a/Marlin/configurator/js/configurator.js +++ b/Marlin/configurator/js/configurator.js @@ -642,9 +642,9 @@ var configuratorApp = (function(){ var r, s; findDef = new RegExp('(([ \\t]*(//|#)[^\n]+\n){1,4})([ \\t]*\n){0,1}' + info.line, 'g'); if (r = findDef.exec(txt)) { - findDef = new RegExp('^[ \\t]*(//+[ \\t]*.*)[ \\t]*$', 'gm'); + findDef = new RegExp('^[ \\t]*//+[ \\t]*(.*)[ \\t]*$', 'gm'); while((s = findDef.exec(r[1])) !== null) { - if (s[1].match(/^\/\/[ \\t]*#define[ \\t]/) != null) { + if (s[1].match(/^#define[ \\t]/) != null) { comment = ''; break; }