Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
fix cdm search link
Browse files Browse the repository at this point in the history
  • Loading branch information
evanwill committed Oct 31, 2019
1 parent 56563ef commit a52bf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/nav-search-cdm.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
function cdm_search() {
var query = document.getElementById("nav-search").value;
window.open("https://digital.lib.uidaho.edu/digital/collection/{{ site.cdm-collection-id }}/search/searchterm/" + encodeURI(query), "_blank" );
window.open("{{ site.cdm-url }}/digital/collection/{{ site.cdm-collection-id }}/search/searchterm/" + encodeURI(query), "_blank" );
}
</script>
<form class="form-inline my-2 my-lg-0" role="search" id="search" onsubmit="cdm_search(); return false;">
Expand Down

0 comments on commit a52bf65

Please sign in to comment.