Skip to content
Permalink
Browse files
CB-11486 (browser) splashScreenDelay now feed through parseInt to ens…
…ure it's an integer by the time it's value is passed in to setTimeout() in hide().
  • Loading branch information
petermetz authored and alsorokin committed Jul 11, 2017
1 parent d6db9f3 commit 2db7bac57153e68a0d35f9b8a68ef68fffdbf0bd
Showing 1 changed file with 2 additions and 0 deletions.
@@ -97,6 +97,8 @@ function readPreferencesFromCfg(cfg) {
}

splashScreenDelay = cfg.getPreferenceValue('SplashScreenDelay') || splashScreenDelay;
splashScreenDelay = parseInt(splashScreenDelay, 10);

imageSrc = cfg.getPreferenceValue('SplashScreen') || imageSrc;
bgColor = cfg.getPreferenceValue('SplashScreenBackgroundColor') || bgColor;
splashImageWidth = cfg.getPreferenceValue('SplashScreenWidth') || splashImageWidth;

0 comments on commit 2db7bac

Please sign in to comment.