I\'ve got this function:
$(document).ready(function() { $(\'.post_button, .btn_favorite\').click(function() { //Fade in the Popup $(\'.login_modal_message\
Instead of this:
$('.post_button, .btn_favorite').click(function() {
do this:
$(document).on('click','.post_button, .btn_favorite', function() {
on will work with present elements and future ones that match the selector.
on
Cheers