remove active li after clicking update message
This commit is contained in:
parent
8d98c1b688
commit
04707cb9b1
@ -2812,6 +2812,7 @@ function updateSelectedMsg(){
|
||||
const ulElement = document.getElementById("messages-features");
|
||||
const activeListItem = ulElement.querySelector("li.active");
|
||||
activeListItem.innerText = msg_name;
|
||||
activeListItem.classList.remove("active");
|
||||
theIndexOfMsg = null;
|
||||
document.getElementById('updated-message-p').style.display = "block";
|
||||
setTimeout(function hideElement() {
|
||||
|
Loading…
Reference in New Issue
Block a user