stashapp / CommunityScripts

This is a public repository containing plugin and utility scripts created by the Stash Community.
https://docs.stashapp.cc/add-ons/
GNU Affero General Public License v3.0
191 stars 147 forks source link

[Hot Cards] Add missing popstate event listener #451

Closed HandyRandyx closed 1 month ago

HandyRandyx commented 1 month ago

This ensures 'activeHotCardTypes' is cleared when the user navigates backwards, allowing 'createAndInsertHotCards' to be run when there is the same type of hot card active in two subsequent navigations.