mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: Sharing link stood visible after using browser’s back button
This commit is contained in:
parent
806d856d65
commit
7ad10b5ea6
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue