mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-06-30 23:12:16 +02:00
Compare commits
1 Commits
0d90c97123
...
c789b56486
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c789b56486 |
File diff suppressed because one or more lines are too long
@@ -20,7 +20,7 @@
|
|||||||
<script>
|
<script>
|
||||||
(function () {
|
(function () {
|
||||||
var BACKEND = 'https://backend.freedoms4.org/comments.php';
|
var BACKEND = 'https://backend.freedoms4.org/comments.php';
|
||||||
var POST_ID = {{ .RelPermalink | jsonify | safeJS }};
|
var POST_ID = {{ .RelPermalink | jsonify }};
|
||||||
var username = localStorage.getItem('f4_username');
|
var username = localStorage.getItem('f4_username');
|
||||||
var isAdmin = false;
|
var isAdmin = false;
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
// ── Helpers ──
|
// ── Helpers ──
|
||||||
function escHtml(s) {
|
function escHtml(s) {
|
||||||
return s.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
return s.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"');
|
||||||
}
|
}
|
||||||
|
|
||||||
function timeAgo(iso) {
|
function timeAgo(iso) {
|
||||||
|
|||||||
Reference in New Issue
Block a user