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:
Matthias Mees 2014-06-05 14:11:40 +02:00
parent 30215a1903
commit 69ff022635
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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();