From: David ‘Bombe’ Roden Date: Thu, 20 Jan 2011 12:44:15 +0000 (+0100) Subject: Use the Sone element as parameter, not its ID. X-Git-Tag: 0.4.2^2~14 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f46e15707f668419a1dea76b5fc690086f9cebcd;p=Sone.git Use the Sone element as parameter, not its ID. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 8f0aef7..a673f8c 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -582,7 +582,7 @@ function ajaxifySone(soneElement) { /* mark Sone as known when clicking it. */ $(soneElement).click(function() { - markSoneAsKnown(getSoneId(this)); + markSoneAsKnown(soneElement); }); }