Compare commits

..

No commits in common. "cee1b4c8c16d7daa54e70fa657569bce097e6978" and "0f2a88aa68677f50e0f3084d2fa434d22def0b47" have entirely different histories.

2 changed files with 0 additions and 15 deletions

View file

@ -428,18 +428,6 @@ function showIncreaseRatingDialog(coinsCount, userUrl, hash) {
}; };
} }
function escapeHtml(text) {
var map = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#039;'
};
return text.replace(/[&<>"']/g, function(m) { return map[m]; });
}
$(document).on("scroll", () => { $(document).on("scroll", () => {
if($(document).scrollTop() > $(".sidebar").height() + 50) { if($(document).scrollTop() > $(".sidebar").height() + 50) {
$(".floating_sidebar")[0].classList.add("show"); $(".floating_sidebar")[0].classList.add("show");

View file

@ -16,9 +16,6 @@ function _bsdnToHumanTime(time) {
} }
function _bsdnTpl(name, author) { function _bsdnTpl(name, author) {
name = escapeHtml(name);
author = escapeHtml(author);
return ` return `
<div class="bsdn_contextMenu" style="display: none;"> <div class="bsdn_contextMenu" style="display: none;">
<span class="bsdn_contextMenuElement bsdn_copyVideoUrl">Copy video link to clipboard</span> <span class="bsdn_contextMenuElement bsdn_copyVideoUrl">Copy video link to clipboard</span>