From: David ‘Bombe’ Roden Date: Mon, 11 Apr 2011 10:30:50 +0000 (+0200) Subject: Mark the correct sone as known. X-Git-Tag: beta-freefall-0.6.2-1~8^2~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0086dd77156fa8fa3f659c079057f49d9f14002b;p=Sone.git Mark the correct sone as known. This fixes #142. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index d60ee23..056369c 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -666,7 +666,7 @@ function ajaxifySone(soneElement) { /* mark Sone as known when clicking it. */ $(soneElement).click(function() { - markSoneAsKnown(soneElement); + markSoneAsKnown(this); }); }