mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
notifications
This commit is contained in:
BIN
data/images/manaSymbols/m21/0.png
Normal file
BIN
data/images/manaSymbols/m21/0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@@ -897,15 +897,14 @@ function textCodeReference() {
|
||||
textCodeReferenceArray.forEach(item => document.getElementById('textCodeReference').innerHTML += '<div>' + item[0] + '</div><div>' + item[1] + '</div>')
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function notify(message, color) {
|
||||
document.getElementsByClassName('notificationContainer')[0].innerHTML += `
|
||||
<div class='notification' style='background-color: ` + color + `'>
|
||||
<div>` + message + `</div>
|
||||
<div class='deleteNotification' onclick='this.parentElement.parentNode.removeChild(this.parentElement)'>X</div>
|
||||
</div>
|
||||
`
|
||||
}//notify('MessageGoesHere', '#aaffaadd')
|
||||
|
||||
//Must run last:
|
||||
initialize()
|
||||
|
Reference in New Issue
Block a user