From 65f12c92a73498c67ce18ea1af48ca5088e6cf38 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Wed, 25 Apr 2012 11:01:59 +0000 Subject: [PATCH] Fixing Wiki link. --- gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-004/jCards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-004/jCards.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-004/jCards.js index 76bd39123..abc453709 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-004/jCards.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-004/jCards.js @@ -236,8 +236,8 @@ var Card = Class.extend({ getWikiLink: function() { var imageUrl = this.getUrlByBlueprintId(this.blueprintId, true); var afterLastSlash = imageUrl.lastIndexOf("/") + 1; - var countAfterLastSlash = imageUrl.length - 3 - afterLastSlash; - return "http://lotrtcgdb.com/pages/" + imageUrl.substr(afterLastSlash, countAfterLastSlash) + "html"; + var countAfterLastSlash = imageUrl.length - 4 - afterLastSlash; + return "http://lotrtcgwiki.com/wiki/" + imageUrl.substr(afterLastSlash, countAfterLastSlash); }, formatSetNo: function(setNo) {