Closed (fixed)
Project:
Syntax Highlighter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2009 at 04:00 UTC
Updated:
31 Oct 2009 at 16:15 UTC
I got the syntax highlighter working on my site.
When I add this line of code to my theme .js file, it breaks the syntax highlighter module:
$(".views-field-field-overview-project-image-fid").append("<a><div>View project images</div></a>").find("a:last").attr("href", setURL).find(
"div:last").addClass("hover_btn");
I believe it is the .attr("href", setURL) part that is causing the problem.
Comments
Comment #1
zsiswick commentedComment #2
zsiswick commentedI was able to fix the problem by changing my Jquery code to the following: