mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Compare commits
No commits in common. "cee1b4c8c16d7daa54e70fa657569bce097e6978" and "0f2a88aa68677f50e0f3084d2fa434d22def0b47" have entirely different histories.
cee1b4c8c1
...
0f2a88aa68
2 changed files with 0 additions and 15 deletions
|
@ -428,18 +428,6 @@ function showIncreaseRatingDialog(coinsCount, userUrl, hash) {
|
|||
};
|
||||
}
|
||||
|
||||
function escapeHtml(text) {
|
||||
var map = {
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
"'": '''
|
||||
};
|
||||
|
||||
return text.replace(/[&<>"']/g, function(m) { return map[m]; });
|
||||
}
|
||||
|
||||
$(document).on("scroll", () => {
|
||||
if($(document).scrollTop() > $(".sidebar").height() + 50) {
|
||||
$(".floating_sidebar")[0].classList.add("show");
|
||||
|
|
|
@ -16,9 +16,6 @@ function _bsdnToHumanTime(time) {
|
|||
}
|
||||
|
||||
function _bsdnTpl(name, author) {
|
||||
name = escapeHtml(name);
|
||||
author = escapeHtml(author);
|
||||
|
||||
return `
|
||||
<div class="bsdn_contextMenu" style="display: none;">
|
||||
<span class="bsdn_contextMenuElement bsdn_copyVideoUrl">Copy video link to clipboard</span>
|
||||
|
|
Loading…
Reference in a new issue