mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
moved cid so that other functions can use it in category.js
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user