| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | (function ($) { |
||
| 2 | $(document).ready(function () { |
||
| 3 | $("h1").slabText({ |
||
| 4 | // Don't slabtext the headers if the viewport is under 380px |
||
| 5 | "viewportBreakpoint": 380 |
||
| 6 | }); |
||
| 7 | $('select').chosen({ |
||
| 8 | allow_single_deselect: true, |
||
| 9 | placeholder_text: Translator.trans('select.multiple', {}, 'common'), |
||
|
|
|||
| 10 | width: '100%' |
||
| 11 | }); |
||
| 12 | $('#loading').fadeOut(); |
||
| 13 | }); |
||
| 14 | })(jQuery); |
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.