File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
components/timeline/timeline-coverage Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class App extends React.Component {
107107 } ;
108108
109109 onload ( ) {
110- const { props, getScreenInfo, setVhCSSProperty } = this ;
110+ const { props, getScreenInfo } = this ;
111111 const { config, parameters } = props ;
112112 const state = parameters ;
113113 config . parameters = state ;
@@ -138,7 +138,7 @@ class App extends React.Component {
138138 } ) ;
139139 getScreenInfo ( ) ;
140140 events . trigger ( STARTUP ) ;
141- setVhCSSProperty ( ) ;
141+ App . setVhCSSProperty ( ) ;
142142 } ;
143143 util . wrap ( main ) ( ) ;
144144 }
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ class CoverageItemList extends Component {
257257 } = def ;
258258 const { dateInterval, startDate, endDate } = range ;
259259
260- const layerPeriod = this . getFormattedTimePeriod ( period ) ;
260+ const layerPeriod = CoverageItemList . getFormattedTimePeriod ( period ) ;
261261 const rangeInterval = Number ( dateInterval ) ;
262262 let rangeEnd ;
263263
@@ -385,7 +385,7 @@ class CoverageItemList extends Component {
385385 if ( isValidLayer ) {
386386 multipleCoverageRanges = dateRanges . length > 1 ;
387387 }
388- let layerPeriod = this . getFormattedTimePeriod ( period ) ;
388+ let layerPeriod = CoverageItemList . getFormattedTimePeriod ( period ) ;
389389
390390 // get layer scale number to determine relation to current axis zoom level
391391 const timeScaleNumber = TIME_SCALE_TO_NUMBER [ timeScale ] ;
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ class TimelineLayerCoveragePanel extends Component {
317317 id = { layerInfoBtnId }
318318 aria-label = { layerInfoBtnTitle }
319319 className = { layerInfoBtnId }
320- onMouseDown = { this . stopPropagation }
320+ onMouseDown = { TimelineLayerCoveragePanel . stopPropagation }
321321 onClick = { ( ) => onInfoClick ( ) }
322322 >
323323 < FontAwesomeIcon icon = "question-circle" className = "layer-coverage-info-button-icon" widthAuto />
You can’t perform that action at this time.
0 commit comments