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.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js
index 1d133d3..0c9f88d 100755
--- a/theme/javascript/utils/sharing.js
+++ b/theme/javascript/utils/sharing.js
@@ -16,6 +16,9 @@ define([
},
"weibo": function($el) {
window.open("http://service.weibo.com/share/share.php?content=utf-8&url="+encodeURIComponent(url)+"&title="+encodeURIComponent(title))
+ },
+ "instapaper": function($el) {
+ window.open("http://www.instapaper.com/text?u="+encodeURIComponent(url))
}
};