From 76a01cbf1c5e2233b498fe00af687398dd01b832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sun, 8 Apr 2012 14:29:16 +0200 Subject: [PATCH] Fixed research page bug * In some cases, it was impossible to implement a technology or set its research priority, due to the JS click handler exiting with a "false" return value. --- legacyworlds-web-main/Content/Raw/js/research.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacyworlds-web-main/Content/Raw/js/research.js b/legacyworlds-web-main/Content/Raw/js/research.js index c9c3544..31cdbfe 100644 --- a/legacyworlds-web-main/Content/Raw/js/research.js +++ b/legacyworlds-web-main/Content/Raw/js/research.js @@ -45,7 +45,7 @@ $(function() { $('.tech-line').click(function() { var _id = $(this).attr('id').replace(/^tl-/, ''); if (_id == _displayed) { - return; + return true; } _viewingArea.html($('#tdesc-' + _id).html()); $('a', _viewingArea).click(function() {