mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Merge pull request #2981 from karreiro/share_bug
FIX: Sharing link stood visible after using browser’s back button
This commit is contained in:
commit
a91d5fc726
@ -104,6 +104,8 @@ export default Discourse.View.extend({
|
||||
},
|
||||
|
||||
willDestroyElement: function() {
|
||||
this.get('controller').send('close');
|
||||
|
||||
$('html').off('click.discoure-share-link')
|
||||
.off('mousedown.outside-share-link')
|
||||
.off('keydown.share-view');
|
||||
|
Loading…
Reference in New Issue
Block a user