fix: render LOT values and sync errors without executable interpolation (#4)
This commit is contained in:
1 parent
c0c7804494
commit
1ada8c12e2
10 files changed
+105
-50
No files matched your search
@@ -80,11 +80,6 @@ let variantsLoaded = false;
|
||||
|
||||
const trackerBaseURL = 'https://tracker.yandex.ru/';
|
||||
|
||||
function escapeHtml(text) {
|
||||
const div = document.createElement('div');
|
||||
div.textContent = text || '';
|
||||
return div.innerHTML;
|
||||
}
|
||||
|
||||
function formatMoney(v) {
|
||||
return '$' + (v || 0).toLocaleString('ru-RU', {minimumFractionDigits: 2});
|
||||
|
||||
Reference in new issue
Block a user