Remove innerHTML use
* Bump to version 1.3.1
This commit is contained in:
parent
f1a1fbe5e9
commit
4107bbc093
3 changed files with 3 additions and 3 deletions
|
|
@ -20,5 +20,5 @@
|
||||||
"storage",
|
"storage",
|
||||||
"clipboardWrite"
|
"clipboardWrite"
|
||||||
],
|
],
|
||||||
"version": "1.3.0"
|
"version": "1.3.1"
|
||||||
}
|
}
|
||||||
2
popup.js
2
popup.js
|
|
@ -132,7 +132,7 @@ function _notification()
|
||||||
{
|
{
|
||||||
if(notifications.length !== 0 && notification_timeout === null)
|
if(notifications.length !== 0 && notification_timeout === null)
|
||||||
{
|
{
|
||||||
notification_text_elt.innerHTML = notifications[0]
|
notification_text_elt.firstChild.data = notifications[0]
|
||||||
notification_elt.classList.add('show')
|
notification_elt.classList.add('show')
|
||||||
notification_timeout = setTimeout(_next_notification, notification_delay)
|
notification_timeout = setTimeout(_next_notification, notification_delay)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue