Closed (works as designed)
Project:
Google Analytics
Version:
6.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2011 at 21:01 UTC
Updated:
6 Dec 2011 at 23:23 UTC
When using other javascript libraries such as prototype, one needs to use jQuery.noConfict(); to make sure that the other library can continue to function. In this case, the other library uses the $ variable, and jquery will use the jQuery variable.
The solution is to use something like this:
(function($) {
//jquery code using $ here
});
})(jQuery);
I can try submitting a patch if that helps.
Comments
Comment #1
hass commentedLike core... Fixed in D7