Skip to content

Commit

Permalink
Fixes javascripts
Browse files Browse the repository at this point in the history
  • Loading branch information
buba committed Jan 24, 2016
1 parent ade03eb commit cf38557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/yiiSimpleChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
$conversation.find('.fa-circle').trigger('click');
}
// update the window state
document.title = current.contact.profile.full_name;
document.title = current.contact.profile.name;
var re = /\/(\s*\d+\s*)/;
var url = location.href.replace(re, '/' + current.contact.id);
window.history.replaceState(null, document.title, url);
Expand Down

0 comments on commit cf38557

Please sign in to comment.