mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04: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