Changes

m
logging
Line 1: Line 1:  
(function($, ArticleComments, ClosedThreads){
 
(function($, ArticleComments, ClosedThreads){
 
"use strict";
 
"use strict";
console.log("Close Thread v0.1");
+
console.log("Close Thread v0.2");
    
function ExecCloseThreads(){
 
function ExecCloseThreads(){
 
$(ClosedThreads).each(function(index, comment_id){
 
$(ClosedThreads).each(function(index, comment_id){
 +
console.log("Closing: "+comment_id);
 
$("#comm-"+comment_id+" .article-comm-reply").hide();
 
$("#comm-"+comment_id+" .article-comm-reply").hide();
 
$("#comm-"+comment_id+" .tools").prepend('[Thread Closed]');
 
$("#comm-"+comment_id+" .tools").prepend('[Thread Closed]');
15

edits