From d19d49fea4655ac5e9e84efe63733f1099de3dd6 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 8 May 2018 11:50:52 +0200 Subject: [PATCH] Let's click text module on every area (also on keyword). --- app/assets/javascripts/app/lib/base/jquery.textmodule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/base/jquery.textmodule.js b/app/assets/javascripts/app/lib/base/jquery.textmodule.js index b40749fea..4a2891050 100644 --- a/app/assets/javascripts/app/lib/base/jquery.textmodule.js +++ b/app/assets/javascripts/app/lib/base/jquery.textmodule.js @@ -344,7 +344,7 @@ Plugin.prototype.onEntryClick = function(event) { event.preventDefault() - var id = $(event.target).data('id') + var id = $(event.currentTarget).data('id') this.take(id) }