diff options
author | Olga Filipova <chudaol@gmail.com> | 2015-05-12 22:30:09 +0200 |
---|---|---|
committer | Olga Filipova <chudaol@gmail.com> | 2015-05-12 22:30:09 +0200 |
commit | 7543781046537aa7684cf7480604e83f0f78da8e (patch) | |
tree | 982befc40f9258e67f67234bd986609c5980c1ea /theme/javascript/utils/sharing.js | |
parent | 82f3ffad06ee417f38b7f981f669dd8bd6526faf (diff) | |
download | gitbook-7543781046537aa7684cf7480604e83f0f78da8e.zip gitbook-7543781046537aa7684cf7480604e83f0f78da8e.tar.gz gitbook-7543781046537aa7684cf7480604e83f0f78da8e.tar.bz2 |
Added vk sharing button.
Diffstat (limited to 'theme/javascript/utils/sharing.js')
-rwxr-xr-x | theme/javascript/utils/sharing.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js index f27e4a4..a0cfb59 100755 --- a/theme/javascript/utils/sharing.js +++ b/theme/javascript/utils/sharing.js @@ -16,6 +16,9 @@ define([ }, "instapaper": function($el) { window.open("http://www.instapaper.com/text?u="+encodeURIComponent(location.href)); + }, + "vk": function($el) { + window.open("http://vkontakte.ru/share.php?url="+encodeURIComponent(location.href)); } }; |