Modification to js?

This code opens and closes the unit by clicking on the element. Help to modify it so that the closed unit is not only by clicking on the element and to any location on the screen and jabbed it closed.

$(document).ready(function() {
 $('.click-gs').on('click', '.extremum-click', function() {
June 14th 19 at 19:16
0 answer

Find more questions by tags AJAXJavaScriptjQuery