Fixed two typos in Spamblock Bayes.
These were actually preventing the JS for expanding comments in the analysis list from working. Haven't tested it in 1.x, but it does now work in 2.x.
This commit is contained in:
parent
30215a1903
commit
69ff022635
|
@ -15,7 +15,7 @@
|
|||
{foreach from=$comments item=comment }
|
||||
<li>
|
||||
<input type="checkbox" id="{$comment.id}" name="comments[{$comment.id}]" />
|
||||
<label for="{$comment.id}"" >{$comment.id}</label>:
|
||||
<label for="{$comment.id}">{$comment.id}:</label>
|
||||
<div class="bayesComments">
|
||||
{$comment.author|escape:"html"}, {$comment.body|escape:"html"}
|
||||
</div>
|
||||
|
|
|
@ -34,7 +34,7 @@ function shortenAll(textclass, lines) {
|
|||
|
||||
function shorten($element, lines) {
|
||||
var o = $element.text();
|
||||
$r = $('><a href="#" style="padding-left: 5px;">... show</a>');
|
||||
$r = $('<a href="#" style="padding-left: 5px;">... show</a>');
|
||||
$element.excerpt({ lines: lines, end: $r});
|
||||
$element.find('a').click(function(e){
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue