discourse/discourse — pull request #2981 by karreiro (2014-11-18 22:39:36+00:00)
Title: FIX: Sharing link stood visible after using browser’s back button

This small piece of code fixes this bug: https://meta.discourse.org/t/dialog-for-sharing-link-stays-visible-after-using-browsers-back-and-forward-buttons/22178

;)