recent replies needs stripTags true

changed [self] to _
This commit is contained in:
barisusakli
2014-11-19 14:12:57 -05:00
parent 6eef866320
commit 15c2b124e3
2 changed files with 13 additions and 5 deletions

View File

@@ -269,8 +269,8 @@ var socket,
selector = selector || $('a');
selector.each(function() {
var href = $(this).attr('href');
if (href && app.userslug) {
$(this).attr('href', href.replace(/\[self\]/g, app.userslug));
if (href && app.userslug && href.indexOf('_') !== -1) {
$(this).attr('href', href.replace(/_/g, app.userslug));
}
});
};