From ef463eb517da8c378811fd14ed9b3df12092ce3e Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 2 Oct 2013 16:16:08 +0200 Subject: [PATCH] API endpoint detection for count.min.js --- isso/js/app/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isso/js/app/api.js b/isso/js/app/api.js index 64cb887..f93635f 100644 --- a/isso/js/app/api.js +++ b/isso/js/app/api.js @@ -21,7 +21,7 @@ define(["q"], function(Q) { if (js[i].src.match("/js/components/requirejs/require\\.js$")) { endpoint = js[i].src.substring(0, js[i].src.length - 35); break; - } else if (js[i].src.match("/js/embed\\.min\\.js$")) { + } else if (js[i].src.match("/js/(embed|count)\\.min\\.js$")) { endpoint = js[i].src.substring(0, js[i].src.length - 16); break; }