Skip to content

Correctly clear session key for the post-vote message

Samwilson requested to merge post-vote-message-3 into main

Actually delete the sessionStorage key that controls the display of the post-voting message, rather than setting it to null.

Also fix the checking of the key's value: setting it to true was actually storing the string "true", so change this to 1 to avoid confusion (not that it really matters as we then compare it to null).

Bug: T363231

Edited by Samwilson

Merge request reports

Loading