about summary refs log tree commit diff
path: root/spec/fabricators/favourite_fabricator.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-12 17:55:40 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-07-12 20:13:02 +0200
commit6e3d5cbca26995e99d6ca8b1e3191edc539d87eb (patch)
treede8d16f8084deffcda17c8a926a7ed07ef06be04 /spec/fabricators/favourite_fabricator.rb
parentc5b4e6b7084e8257979adec87f97d4800b7bec57 (diff)
Fix and simplify browser history handling in relation to modals
This simplifies the logic to:
- when the last modal gets closed and we're in our history buffer state, go back
- whenever a modal is open, ensure we're in a history buffer state by
  potentially pushing one
Diffstat (limited to 'spec/fabricators/favourite_fabricator.rb')
0 files changed, 0 insertions, 0 deletions