mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 09:25:29 +00:00
Fixed jslint errors
This commit is contained in:
@ -55,7 +55,7 @@ define(
|
||||
notificationService.dismissOrMinimize(notification);
|
||||
};
|
||||
$scope.maximize = function(notification) {
|
||||
if (notification.severity != "info"){
|
||||
if (notification.severity !== "info"){
|
||||
notification.cancel = function(){
|
||||
dialogService.dismiss();
|
||||
};
|
||||
|
@ -137,7 +137,7 @@ define(
|
||||
"alert": 2,
|
||||
"error": 3
|
||||
};
|
||||
notification.severity = notification.severity || "info"
|
||||
notification.severity = notification.severity || "info";
|
||||
if (notification.autoDismiss === true){
|
||||
notification.autoDismiss = this.DEFAULT_AUTO_DISMISS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user