v1.18.x
Barış Soner Uşaklı 10 years ago
parent 354268bccd
commit 2086ddf386

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

Loading…
Cancel
Save