mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Links protocol fix.
This commit is contained in:
parent
5afe90a990
commit
9f55bff748
|
@ -153,11 +153,11 @@ $(document).ready(function() {
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
|
|
||||||
// Data for template
|
// Data for template
|
||||||
var userLink = location.protocol + '//' + wsMessage.author + '.point.im/';
|
var userLink = '//' + wsMessage.author + '.point.im/';
|
||||||
var postAuthorLink = $('#top-post .info a').attr('href');
|
var postAuthorLink = $('#top-post .info a').attr('href');
|
||||||
var postLink = postAuthorLink + wsMessage.post_id;
|
var postLink = postAuthorLink + wsMessage.post_id;
|
||||||
var userAvatar = location.protocol + '//point.im/avatar/' + wsMessage.author;
|
var userAvatar = '//point.im/avatar/' + wsMessage.author;
|
||||||
var commentLink = location.protocol + '//point.im/' + wsMessage.post_id + '#' + wsMessage.comment_id;
|
var commentLink = '//point.im/' + wsMessage.post_id + '#' + wsMessage.comment_id;
|
||||||
var csRfToken = $('.reply-form input[name="csrf_token"').val();
|
var csRfToken = $('.reply-form input[name="csrf_token"').val();
|
||||||
|
|
||||||
// Filling template
|
// Filling template
|
||||||
|
|
Loading…
Reference in a new issue