I am trying to use an \'if\' statement to determine which element was clicked.
Basically I am trying to code something along the lines of:
if (the el
Hope this useful for you.
$(document).click(function(e){ if ($('#news_gallery').on('clicked')) { var article = $('#news-article .news-article'); } });