From 501bdc59bf5643a3a273e1468cca092e2603d9c2 Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Wed, 25 Apr 2018 10:55:37 +0200 Subject: [PATCH] Bugfix to support elements in SVG diagrams - close #421 --- isso/js/app/count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isso/js/app/count.js b/isso/js/app/count.js index a1fff4b..58eb230 100644 --- a/isso/js/app/count.js +++ b/isso/js/app/count.js @@ -4,7 +4,7 @@ define(["app/api", "app/dom", "app/i18n"], function(api, $, i18n) { var objs = {}; $.each("a", function(el) { - if (! el.href.match(/#isso-thread$/)) { + if (! el.href.match || ! el.href.match(/#isso-thread$/)) { return; }