Discuz帖子搜索卡死,Discuz帖子搜索高亮卡死情况的解决办法
找到/static/js/common_extra.js第 27行开始到46行的代码去除或者屏蔽掉即可msg = msg.replace(/(^|>)([^<]+)(?=<|$)/ig, function($1, $2, $3) {
for(var j = 0; j < relatedlink.length; j++) {
if(relatedlink && !relatedid) {
if(relatedlink['surl'] != '') {
var ra = '<a href="'+relatedlink['surl']+'" target="_blank" class="relatedlink">'+relatedlink['sname']+'</a>';
alink = ra;
ra = '#alink '+alink_i+'#';
alink_i++;
} else {
var ra = '<strong><font color="#FF0000">'+relatedlink['sname']+'</font></strong>';
}
var $rtmp = $3;
$3 = $3.replace(relatedlink['sname'], ra);
if($3 != $rtmp) {
relatedid = 1;
}
}
}
return $2 + $3;
});
页:
[1]