You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/16 00:06:20 UTC

[cordova-windows] 01/02: fix mistage in splashscreen.js

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-win10only
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git

commit e2519c34f921ef2ad836d66caa8aaf1ebaee093d
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri Feb 16 01:05:49 2018 +0100

    fix mistage in splashscreen.js
---
 cordova-js-src/splashscreen.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cordova-js-src/splashscreen.js b/cordova-js-src/splashscreen.js
index 8acdcd0..e26f1a9 100644
--- a/cordova-js-src/splashscreen.js
+++ b/cordova-js-src/splashscreen.js
@@ -156,7 +156,11 @@ function init(config, manifest) {
         extendedSplashImage.classList.add('phone');
     }
 
-    extendedSplashProgress.classList.add('extended-splash-progress-wp10');
+    if (isWp10) {   	
+        extendedSplashProgress.classList.add('extended-splash-progress-wp10');	
+    } else {	
+        extendedSplashProgress.classList.add('extended-splash-progress-desktop');	
+    }
 
     if (!showSplashScreenSpinner) {
         extendedSplashProgress.classList.add('hidden');

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org