Skip to content

Commit 31851d4

Browse files
Matt KaneMatt Kane
authored andcommitted
Fix a typo in the Badge plugin
1 parent 43756af commit 31851d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iPhone/Badge/Badge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Badge.prototype.clear = function() {
2929

3030
PhoneGap.addConstructor(function()
3131
{
32-
if(window.plugins)
32+
if(!window.plugins)
3333
{
3434
window.plugins = {};
3535
}

0 commit comments

Comments
 (0)