moved cid so that other functions can use it in category.js

v1.18.x
Baris Usakli 12 years ago
parent b31fa856d0
commit 230ed1ab11

@ -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'),

Loading…
Cancel
Save