Please add the javascript behavior to your Jquery script.
You need to write this code, like here:

Drupal.behaviors.shareEverywhereModule = {
attach: function (context, settings) {
$('selector', context).click(function () {
// code
});
}
};

Comments

malatenszki created an issue. See original summary.

  • arpad.rozsa committed 57e9fc5 on 2.x
    Issue #3128518 by malatenszki, arpad.rozsa: Add Drupal Javascript...
arpad.rozsa’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.