diff --git a/effects/fade/package/contents/code/main.js b/effects/fade/package/contents/code/main.js index 9a9b6a3e76..e47153ecf2 100644 --- a/effects/fade/package/contents/code/main.js +++ b/effects/fade/package/contents/code/main.js @@ -33,9 +33,9 @@ function isLoginWindow(w) { var fadeInTime, fadeOutTime, fadeWindows; function loadConfig() { - fadeInTime = animationTime(effect.readConfig("FadeInTime")); - fadeOutTime = animationTime(effect.readConfig("FadeOutTime")); - fadeWindows = effect.readConfig("FadeWindows"); + fadeInTime = animationTime(effect.readConfig("FadeInTime", 150)); + fadeOutTime = animationTime(effect.readConfig("FadeOutTime", 150)); + fadeWindows = effect.readConfig("FadeWindows", true); } loadConfig(); effect.configChanged.connect(function() {