From 4887931d502e44a0fe0d3fcc77f1efe72ca3dd79 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 25 Mar 2016 15:40:22 +0100 Subject: [PATCH] fix linkage of NS constants --- public/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.js b/public/index.js index 7c5a82c..4878936 100644 --- a/public/index.js +++ b/public/index.js @@ -99,7 +99,7 @@ $(function() { } if (-1 !== (j = s.lastIndexOf("\\")) && s.substr(j+1,1) !== "n") { t = s.substring(j+1); - if (!mdref.is_constant(t) || s.match(/\\/).length <= 1) { + if (!mdref.is_constant(t) || s.match(/\\/g).length <= 1) { return ""; } return ""; -- 2.30.2