[ 
https://issues.apache.org/jira/browse/CB-11486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081904#comment-16081904
 ] 

ASF subversion and git services commented on CB-11486:
------------------------------------------------------

Commit 2db7bac57153e68a0d35f9b8a68ef68fffdbf0bd in 
cordova-plugin-splashscreen's branch refs/heads/master from [~petermetz]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=2db7bac
 ]

CB-11486 (browser) splashScreenDelay now feed through parseInt to ensure it's 
an integer by the time it's value is passed in to setTimeout() in hide().


> SplashScreenDelay config value parsing incorrect
> ------------------------------------------------
>
>                 Key: CB-11486
>                 URL: https://issues.apache.org/jira/browse/CB-11486
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-browser
>    Affects Versions: 4.1.0
>         Environment: browpser platform
>            Reporter: Peter (Somogyvari) Metz
>            Priority: Minor
>              Labels: easyfix
>
> {code}
> splashScreenDelay = cfg.getPreferenceValue('SplashScreenDelay') || 
> splashScreenDelay;
> {code}
> The variable ```splashScreenDelay``` later assumed to be an integer but after 
> this line it ends up storing an integer as a string, like "3000".
> This causes the splash screen delay always to be 0, as in immediate.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to