Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
User:Dragonjet/scripts/CloseThread.js
(view source)
Revision as of 11:24, 28 December 2014
37 bytes added
,
9 years ago
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]');
Dragonjet
15
edits