Commit d7b9dbf8 authored by Randall Leeds's avatar Randall Leeds

Include the query when rebasing heatmap SVG refs

Some browsers seem to care about this. Close #1241.
parent ffaf4253
......@@ -134,8 +134,8 @@ class Annotator.Plugin.Heatmap extends Annotator.Plugin
return unless document.getElementsByTagName('base').length
location = window.location
base = "#{location.protocol}//#{location.host}#{location.pathname}"
loc = window.location
base = "#{loc.protocol}//#{loc.host}#{loc.pathname}#{loc.search}"
rect = @element.find('rect')
fill = rect.attr('fill')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment