Avoid double links to sledrun wiki pages.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 3 Nov 2013 22:22:28 +0000 (22:22 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 3 Nov 2013 22:22:28 +0000 (22:22 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1788 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index e7142c5fc71fb395d1d4fad0bdd68d95838e80da..37f8208e96608ec129c22912465c42c131176147 100644 (file)
--- 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'}));