Skip to content
Browse files

Fix a typo in the Badge plugin

  • Loading branch information...
1 parent 43756af commit 31851d41ee5ba4dc213b307653593e971f21e56a Matt Kane committed Jan 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 iPhone/Badge/Badge.js
View
2 iPhone/Badge/Badge.js
@@ -29,7 +29,7 @@ Badge.prototype.clear = function() {
PhoneGap.addConstructor(function()
{
- if(window.plugins)
+ if(!window.plugins)
{
window.plugins = {};
}

0 comments on commit 31851d4

Please sign in to comment.
Something went wrong with that request. Please try again.