FIX: Sharing link stood visible after using browser’s back button
This commit is contained in:
parent
806d856d65
commit
7ad10b5ea6
|
@ -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