mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:12:08 +08:00
parent
12117cfe3d
commit
f724541c0a
|
@ -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 New Issue
Block a user