From 97986826a9dc61645fb96e7d5c72a88e4cccd88d Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 3 Nov 2013 22:22:28 +0000 Subject: [PATCH] Avoid double links to sledrun wiki pages. git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1788 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- wrmap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrmap.js b/wrmap.js index e7142c5..37f8208 100644 --- a/wrmap.js +++ b/wrmap.js @@ -252,7 +252,7 @@ function init_wrmap(i, jq_map) { } // wiki link - if (attr.wiki !== undefined) { + if (attr.wiki !== undefined && attr.type !== 'sledrun') { var a = appendElement(appendElement(popup_div, 'p'), 'a', {'href': attr.wiki}); if (attr.thumb_url === undefined) a.text('Details'); else a.append(createElement('img', {'src': attr.thumb_url, 'alt': 'Details'})); -- 2.39.5