mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
[Frontend] Removed unused var
Fixes #623 Removed stateCssClass, not needed;
This commit is contained in:
parent
6459f410e7
commit
26db493b0d
@ -54,13 +54,10 @@ define(
|
||||
timeDelta >= 1000 ? "+" : "";
|
||||
self.signCssClass = timeDelta < 0 ? "icon-minus" :
|
||||
timeDelta >= 1000 ? "icon-plus" : "";
|
||||
self.stateCssClass = relativeTimerState === "play" ? "icon-play" :
|
||||
relativeTimerState === "pause" ? "icon-pause" : "icon-box";
|
||||
} else {
|
||||
self.textValue = "";
|
||||
self.signValue = "";
|
||||
self.signCssClass = "";
|
||||
self.stateCssClass = "icon-box";
|
||||
}
|
||||
}
|
||||
|
||||
@ -250,15 +247,6 @@ define(
|
||||
return this.signCssClass;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the symbol (play, pause or stop) of the current timer state, as
|
||||
* a CSS class.
|
||||
* @returns {string} symbol of the current timer state
|
||||
*/
|
||||
TimerController.prototype.stateClass = function () {
|
||||
return this.stateCssClass;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the text to display for the current timer value.
|
||||
* @returns {string} current timer value
|
||||
|
Loading…
x
Reference in New Issue
Block a user