Skip to content
Snippets Groups Projects
Commit 6416c267 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Clear button for date vis ajax now above and out of the way next to the header. Bootstrap.

parent 87ec9153
No related merge requests found
......@@ -106,12 +106,12 @@ function loadVis(facetFields, searchParams, baseURL, zooming) {
});
if (hasFilter) {
var newdiv = document.createElement('div');
var newdiv = document.createElement('span');
var text = document.getElementById("clearButtonText").innerHTML;
newdiv.setAttribute('id', 'clearButton' + key);
newdiv.innerHTML = '<a href="' + htmlEncode(val['removalURL']) + '">' + text + '</a>';
newdiv.className += "dateVisClear";
placeholder.append(newdiv);
placeholder.before(newdiv);
}
});
}
......
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