metasync-public.js in Search Atlas SEO – OTTO AI SEO Automation for WordPress 2.6.19, at public/js/metasync-public.js
| 1 | (function ($) { |
| 2 | 'use strict'; |
| 3 | |
| 4 | /** |
| 5 | * This enables you to define handlers, for when the DOM is ready: |
| 6 | * |
| 7 | * $(function() { |
| 8 | * |
| 9 | * }); |
| 10 | * |
| 11 | * When the window is loaded: |
| 12 | * |
| 13 | * $( window ).load(function() { |
| 14 | * |
| 15 | * }); |
| 16 | * |
| 17 | */ |
| 18 | |
| 19 | $(function () { |
| 20 | var allPanels = $('.metasync-accordion-block.metasync-panel').hide(); |
| 21 | $('button.metasync-accordion').click(function () { |
| 22 | $(this).parent().toggleClass('metasync-active'); |
| 23 | return false; |
| 24 | }); |
| 25 | }); |
| 26 | |
| 27 | })(jQuery); |
| 28 |