File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,12 @@ class TextView implements TextViewInterface {
58
58
59
59
document . getElementById ( 'displayText' ) . addEventListener ( 'click' , ( ) => {
60
60
this . updateTextViewVisibility ( ) ;
61
+ updateDisplayAllBtn ( ) ;
61
62
} ) ;
62
63
63
64
document . getElementById ( 'displayBBox' ) . addEventListener ( 'click' , ( ) => {
64
65
this . updateBBoxVisibility ( ) ;
66
+ updateDisplayAllBtn ( ) ;
65
67
} ) ;
66
68
}
67
69
@@ -124,7 +126,6 @@ class TextView implements TextViewInterface {
124
126
catch ( e ) { }
125
127
}
126
128
127
- updateDisplayAllBtn ( ) ;
128
129
updateHighlight ( ) ;
129
130
}
130
131
@@ -202,8 +203,6 @@ class TextView implements TextViewInterface {
202
203
else {
203
204
document . getElementById ( 'syl_text' ) . style . display = 'none' ;
204
205
}
205
-
206
- updateDisplayAllBtn ( ) ;
207
206
}
208
207
209
208
/**
You can’t perform that action at this time.
0 commit comments