Merge branch 'v3'
This commit is contained in:
commit
59e0cacdfa
@ -7299,9 +7299,9 @@
|
||||
return true;
|
||||
},
|
||||
toggle: function() {
|
||||
var ID, container, containers, nodes, post, posts, thread, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _results;
|
||||
var ID, container, containers, nodes, post, posts, thread, _i, _j, _k, _len, _len1, _len2, _ref, _ref1;
|
||||
if (QuoteThreading.enabled = this.checked) {
|
||||
return QuoteThreading.force();
|
||||
QuoteThreading.force();
|
||||
} else {
|
||||
thread = $('.thread');
|
||||
posts = [];
|
||||
@ -7327,12 +7327,10 @@
|
||||
$.rm(container);
|
||||
}
|
||||
_ref1 = $$('.threadOP');
|
||||
_results = [];
|
||||
for (_k = 0, _len2 = _ref1.length; _k < _len2; _k++) {
|
||||
post = _ref1[_k];
|
||||
_results.push($.rmClass(post, 'threadOP'));
|
||||
$.rmClass(post, 'threadOP');
|
||||
}
|
||||
return _results;
|
||||
}
|
||||
},
|
||||
kb: function() {
|
||||
|
||||
@ -7303,9 +7303,9 @@
|
||||
return true;
|
||||
},
|
||||
toggle: function() {
|
||||
var ID, container, containers, nodes, post, posts, thread, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _results;
|
||||
var ID, container, containers, nodes, post, posts, thread, _i, _j, _k, _len, _len1, _len2, _ref, _ref1;
|
||||
if (QuoteThreading.enabled = this.checked) {
|
||||
return QuoteThreading.force();
|
||||
QuoteThreading.force();
|
||||
} else {
|
||||
thread = $('.thread');
|
||||
posts = [];
|
||||
@ -7331,12 +7331,10 @@
|
||||
$.rm(container);
|
||||
}
|
||||
_ref1 = $$('.threadOP');
|
||||
_results = [];
|
||||
for (_k = 0, _len2 = _ref1.length; _k < _len2; _k++) {
|
||||
post = _ref1[_k];
|
||||
_results.push($.rmClass(post, 'threadOP'));
|
||||
$.rmClass(post, 'threadOP');
|
||||
}
|
||||
return _results;
|
||||
}
|
||||
},
|
||||
kb: function() {
|
||||
|
||||
@ -103,6 +103,8 @@ QuoteThreading =
|
||||
containers = $$ '.threadContainer', thread
|
||||
$.rm container for container in containers
|
||||
$.rmClass post, 'threadOP' for post in $$ '.threadOP'
|
||||
|
||||
return
|
||||
|
||||
kb: ->
|
||||
control = $.id 'threadingControl'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user