trandangduat đã viết:Lạc đề rồi -_-
trong code có đoạn này
Code:
$(function () {
$("a[href^='/t'], a[href^='http://" + location.host + "/t']").html(function () {
var a = $(this).text();
if (/^\[(code|tool|hỏi đáp|thông báo|zzbaivong)\]/i.test(a)) return a.replace(/^\[[^\[\]]+\]/, function (a) {
return '<span class="prefix ' + lang_vi(a) + '">' + a.slice(1,-1) + "</span>"
})
});
});
thì thêm cái ul#cungchuyenmuc a, ở chỗ
Code:
$("a[href^='/t'], a[href^='http://" + location.host + "/t']").html(function () {
từ đó code trên sẽ thành
Code:
$(function () {
$(""ul#cungchuyenmuc a, a[href^='/t'], a[href^='http://" + location.host + "/t']").html(function () {
var a = $(this).text();
if (/^\[(code|tool|hỏi đáp|thông báo|zzbaivong)\]/i.test(a)) return a.replace(/^\[[^\[\]]+\]/, function (a) {
return '<span class="prefix ' + lang_vi(a) + '">' + a.slice(1,-1) + "</span>"
})
});
});