This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1761,11 +1761,11 @@ UserPageVw = pageVw.extend({
17611761 if ( this . moderatorSettingsModal ) {
17621762 this . moderatorSettingsModal . open ( ) ;
17631763 } else {
1764- this . moderatorSettingsModal = new ModeratorSettingsModal ( { model : this . model } )
1764+ this . moderatorSettingsModal = new ModeratorSettingsModal ( { model : this . model } ) ;
17651765 this . registerChild ( this . moderatorSettingsModal ) ;
17661766 this . moderatorSettingsModal . render ( )
17671767 . on ( 'close' , ( ) => {
1768- this . moderatorSettingsModal . remove ( )
1768+ this . moderatorSettingsModal . remove ( ) ;
17691769 this . moderatorSettingsModal = null ;
17701770 } ) . open ( ) ;
17711771 }
@@ -1814,6 +1814,7 @@ UserPageVw = pageVw.extend({
18141814
18151815 if ( reason == 'blocked' ) {
18161816 this . hiddenWarningModal = new HiddenWarningModal ( ) ;
1817+ this . registerChild ( this . hiddenWarningModal ) ;
18171818 this . hiddenWarningModal . render ( )
18181819 . open ( )
18191820 . on ( 'showPage' , ( ) => {
@@ -1825,6 +1826,7 @@ UserPageVw = pageVw.extend({
18251826 this . hiddenWarningModal = new HiddenWarningModal ( {
18261827 reason : 'nsfw'
18271828 } ) ;
1829+ this . registerChild ( this . hiddenWarningModal ) ;
18281830
18291831 this . hiddenWarningModal . render ( )
18301832 . open ( )
You can’t perform that action at this time.
0 commit comments