var organic_farm_Keyboard_loop = function (elem) { var organic_farm_tabbable = elem.find('select, input, textarea, button, a').filter(':visible'); var organic_farm_firstTabbable = organic_farm_tabbable.first(); var organic_farm_lastTabbable = organic_farm_tabbable.last(); organic_farm_firstTabbable.focus(); organic_farm_lastTabbable.on('keydown', function (e) { if ((e.which === 9 && !e.shiftKey)) { e.preventDefault(); organic_farm_firstTabbable.focus(); } }); organic_farm_firstTabbable.on('keydown', function (e) { if ((e.which === 9 && e.shiftKey)) { e.preventDefault(); organic_farm_lastTabbable.focus(); } }); elem.on('keyup', function (e) { if (e.keyCode === 27) { elem.hide(); }; }); };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
bootstrap.js | File | 141.99 KB | 0644 |
|
color-reset.js | File | 1.11 KB | 0644 |
|
custom-controls.js | File | 2.45 KB | 0644 |
|
customizer-scripts.js | File | 782 B | 0644 |
|
navigation-focus.js | File | 798 B | 0644 |
|
organic-farm-admin.js | File | 466 B | 0644 |
|
organic-farm-custom.js | File | 2.7 KB | 0644 |
|
wow.js | File | 15.23 KB | 0644 |
|