Node.js based forum software built for the modern web
moved cid so that other functions can use it in category.js
Baris Usakli230ed1ab11e1
diff --git a/public/src/forum/category.js b/public/src/forum/category.jsindex ab16a32369..d6838510b7 100644--- a/public/src/forum/category.js+++ b/public/src/forum/category.js@@ -1,9 +1,8 @@define(function () {- var Category = {};-+ var Category = {},+ cid = templates.get('category_id');Category.init = function() {- var cid = templates.get('category_id'),- room = 'category_' + cid,+ var room = 'category_' + cid,twitterEl = document.getElementById('twitter-intent'),facebookEl = document.getElementById('facebook-share'),googleEl = document.getElementById('google-share'),