[
https://issues.apache.org/jira/browse/CB-12812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030738#comment-16030738
]
Ibrahim M. Ghazal commented on CB-12812:
----------------------------------------
https://github.com/apache/cordova-plugin-statusbar/pull/79
> 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: [email protected]
For additional commands, e-mail: [email protected]