summaryrefslogtreecommitdiffstats
path: root/theme/javascript/utils/sharing.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/utils/sharing.js')
-rwxr-xr-xtheme/javascript/utils/sharing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js
index f4354f1..caf97fb 100755
--- a/theme/javascript/utils/sharing.js
+++ b/theme/javascript/utils/sharing.js
@@ -19,7 +19,7 @@ define([
// Bind all sharing button
var init = function() {
- $("a[data-sharing]").click(function(e) {
+ $(document).on("click", "a[data-sharing]", function(e) {
if (e) e.preventDefault();
var type = $(this).data("sharing");