diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-14 16:36:12 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-14 16:36:12 +0200 |
commit | 5848f5db51fb9258ff55dc93010b2c862abeec0a (patch) | |
tree | d12c06a056e30bf42e144f5e52643cee86243ece /theme/javascript/utils/sharing.js | |
parent | 1bbef540157b513d3e336325a3d636885e15357e (diff) | |
parent | 9f1ba8483b3484391ca1cf5b3ed6005d97e0693b (diff) | |
download | gitbook-5848f5db51fb9258ff55dc93010b2c862abeec0a.zip gitbook-5848f5db51fb9258ff55dc93010b2c862abeec0a.tar.gz gitbook-5848f5db51fb9258ff55dc93010b2c862abeec0a.tar.bz2 |
Merge pull request #88 from GitbookIO/feature/clarity
Feature/clarity
Diffstat (limited to 'theme/javascript/utils/sharing.js')
-rwxr-xr-x[-rw-r--r--] | theme/javascript/utils/sharing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js index f4354f1..caf97fb 100644..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"); |