From b8b83c2ec2c28e3c334979ad60c7a15e1ad69c72 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sun, 23 Feb 2014 19:38:26 -0500 Subject: [PATCH] share buttons --- public/src/forum/category.js | 2 +- public/templates/category.tpl | 2 +- public/templates/topic.tpl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/src/forum/category.js b/public/src/forum/category.js index e9777904ab..09eacd8c55 100644 --- a/public/src/forum/category.js +++ b/public/src/forum/category.js @@ -12,7 +12,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) { app.enterRoom('category_' + cid); - $('#twitter-intent').on('click', function () { + $('#twitter-share').on('click', function () { window.open(twitterUrl, '_blank', 'width=550,height=420,scrollbars=no,status=no'); return false; }); diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 418c8ca40b..c437ceac2d 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -14,7 +14,7 @@
  -   +    
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 20c8cb4b29..2bb43ff789 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -101,9 +101,9 @@