| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | (function($) { |
||
| 3 | $('.localized-fields-widget.tab a:contains("'+lang+'")').each(function(){ |
||
| 4 | $(this).parents('.localized-fields-widget[role="tabs"]').find('.localized-fields-widget.tab').removeClass('active'); |
||
| 5 | $(this).parents('.localized-fields-widget.tab').addClass('active'); |
||
| 6 | $(this).parents('.localized-fields-widget[role="tabs"]').children('.localized-fields-widget [role="tabpanel"]').hide(); |
||
| 7 | $($(this).attr('href')).show(); |
||
| 8 | }); |
||
| 9 | } |
||
| 36 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.