File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
web_refresher/static/src/js Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ export class Refresher extends Component {
128128 onChangeAutoRefreshInterval ( clickedOption ) {
129129 const newInterval =
130130 parseInt ( clickedOption . value ?? clickedOption . target . value ) ?? - 1 ;
131- const newIntervalText = clickedOption . textContent ?? clickedOption . target . textContent ;
131+ const newIntervalText =
132+ clickedOption . textContent ?? clickedOption . target . textContent ;
132133 this . refreshInterval = newInterval ;
133134 this . _setIntervalButtonText ( newIntervalText ) ;
134135 if ( this . runningRefresherId ) {
@@ -143,7 +144,8 @@ export class Refresher extends Component {
143144 } else {
144145 document . getElementById ( "manual-refresh-icon" ) . classList . add ( "fa-spin" ) ;
145146 }
146- document . getElementById ( "auto-refresh-interval-text" ) . textContent = intervalText ;
147+ document . getElementById ( "auto-refresh-interval-text" ) . textContent =
148+ intervalText ;
147149 }
148150}
149151
You can’t perform that action at this time.
0 commit comments