Index: trunk/extensions/ClickTracking/modules/ext.UserBuckets.js |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | |
88 | 88 | // do the actual code in the campaign based on the bucket |
89 | 89 | if($.getBuckets() && $.getBuckets()[campaign.name] && $.getBuckets()[campaign.name][0] != "none"){ |
90 | | - if(typeof campaign[$.getBuckets()[campaign.name][0]] == "function"){ |
| 90 | + if(typeof(campaign[$.getBuckets()[campaign.name][0]]) == "function"){ |
91 | 91 | campaign[$.getBuckets()[campaign.name][0]](); //function to execute |
92 | 92 | } |
93 | 93 | if(campaign.allActive){ |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | |
102 | 102 | //no need to do any of this if there are no active campaigns |
103 | 103 | if( (typeof(MW) != "undefined") && MW.activeCampaigns){ |
104 | | - $( document ).ready( jQuery.setupActiveBuckets ); |
| 104 | + $j( document ).ready( jQuery.setupActiveBuckets ); |
105 | 105 | } |
106 | 106 | |
107 | 107 | |