mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 06:54:03 +00:00
parent
12117cfe3d
commit
f724541c0a
1 changed files with 1 additions and 5 deletions
|
@ -156,11 +156,7 @@ controllers.controller("colorsController", function($scope, $http) {
|
||||||
// js is dumb - the empty string is false,
|
// js is dumb - the empty string is false,
|
||||||
// but we want that to mean unsetting a var.
|
// but we want that to mean unsetting a var.
|
||||||
if (!$scope.selectedColorScheme[name] && $scope.selectedColorScheme[name] !== '') {
|
if (!$scope.selectedColorScheme[name] && $scope.selectedColorScheme[name] !== '') {
|
||||||
// Fall back onto the defaut colorscheme.
|
selected = '';
|
||||||
selected = color_scheme_fish_default[name];
|
|
||||||
if (!selected && selected !== '') {
|
|
||||||
selected = '';
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
selected = $scope.selectedColorScheme[name];
|
selected = $scope.selectedColorScheme[name];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue