mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
replace innerHTML to safer textContent where possible
This commit is contained in:
parent
9b09d369d9
commit
c4cc50ca39
8 changed files with 15 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
'use strict';
|
||||
var notification_data = JSON.parse(document.getElementById('notification_data').innerHTML);
|
||||
var notification_data = JSON.parse(document.getElementById('notification_data').textContent);
|
||||
|
||||
var notifications, delivered;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue