From: David ‘Bombe’ Roden Date: Thu, 20 Jan 2011 08:46:03 +0000 (+0100) Subject: Mark Sones as known by clicking on them. X-Git-Tag: 0.4.2^2~16 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d5a9580afb910af2dfd39768c71b926fe838e7d1;p=Sone.git Mark Sones as known by clicking on them. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 9eef811..8f0aef7 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -579,6 +579,11 @@ function ajaxifySone(soneElement) { }); return false; }); + + /* mark Sone as known when clicking it. */ + $(soneElement).click(function() { + markSoneAsKnown(getSoneId(this)); + }); } /**