You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ibrahim M. Ghazal (JIRA)" <ji...@apache.org> on 2017/05/14 08:56:04 UTC
[jira] [Created] (CB-12812) Statusbar plugin throws error on
Browser platform
Ibrahim M. Ghazal created CB-12812:
--------------------------------------
Summary: Statusbar plugin throws error on Browser platform
Key: CB-12812
URL: https://issues.apache.org/jira/browse/CB-12812
Project: Apache Cordova
Issue Type: Bug
Components: cordova-browser, cordova-plugin-statusbar
Affects Versions: Master
Environment: Browser platform
Reporter: Ibrahim M. Ghazal
On the Browser platform, calling `StatusBar.styleDefault()` Throws error: ERROR TypeError: win is not a function .
The fix is very simple, just check if the callback exists before calling it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org