How to unload an element in NodeBB
-
How would I go about unloading an element using jQuery for this application?
Currently on my site, the standalone doesn't want to close when using the back button and I'm not sure about how to go about this. Any one have any ideas? -
@julian said:
Hm... the standalone modal showing categories?
Yes, that one.
You can use
.pushState
, possibly. We do, for ajaxification. https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_historyI'll check it out.
Copyright © 2024 NodeBB | Contributors