Index: trunk/phase3/skins/common/edit.js |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | image.onclick = function() { |
32 | 32 | insertTags(item.tagOpen, item.tagClose, item.sampleText); |
33 | 33 | //click tracking |
34 | | - if ( ( $j != undefined ) && ( $j.trackAction != undefined ) ) { |
| 34 | + if ( ( typeof $j != 'undefined' ) && ( typeof $j.trackAction != 'undefined' ) ) { |
35 | 35 | $j.trackAction("oldedit." + item.speedTip.replace(/ /g, "-")); |
36 | 36 | } |
37 | 37 | return false; |