mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +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,
|
||||
// but we want that to mean unsetting a var.
|
||||
if (!$scope.selectedColorScheme[name] && $scope.selectedColorScheme[name] !== '') {
|
||||
// Fall back onto the defaut colorscheme.
|
||||
selected = color_scheme_fish_default[name];
|
||||
if (!selected && selected !== '') {
|
||||
selected = '';
|
||||
}
|
||||
selected = '';
|
||||
} else {
|
||||
selected = $scope.selectedColorScheme[name];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue