drupal_add_js(drupal_get_path('module', 'similar_popup') . '/js/similar-popup.js', array('scope' => 'footer'));
replace
drupal_add_js(drupal_get_path('module', 'similar_popup') . '/js/similar-popup.js');
and the problem is solved
drupal_add_js(drupal_get_path('module', 'similar_popup') . '/js/similar-popup.js', array('scope' => 'footer'));
replace
drupal_add_js(drupal_get_path('module', 'similar_popup') . '/js/similar-popup.js');
and the problem is solved
Comments