Answer the question
In order to leave comments, you need to log in
Why isn't the "Add to Bookmarks" button updating?
Hello. Now I use the 11th from dle and faced such a problem: when I bookmark a news, a dialog box appears with a message that the news has been bookmarked, but the asterisk (bookmark button) in the stock template does not light up. Its glow notifies us that we have subscribed. Although if we reload the page, we will see a burning star. By clicking on it again, a message will appear that we have removed the news from the bookmarks, but the star is still on fire. Only by refreshing the page will the state of the star be updated. How can I make the "add to bookmarks" button update without reloading? Pressed, the star lit up, pressed again, the star went out.
I gave an analogy with a star to make it clearer. Actually it looks like this for me:
[add-favorites]
добавить
[/add-favorites]
[del-favorites]
удалить
[/del-favorites]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question