Skip to content

Commit 338dbba

Browse files
author
Toby Hunt
committed
removing local host from code!
1 parent 5c42856 commit 338dbba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/cruk-search-widget.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ <h1 class="hero-title col-1-1">{% if page.hero-title %}{{page.hero-title}}{% els
2929
var widget = document.createElement('script');
3030
widget.type = 'text/javascript';
3131
widget.async = true;
32-
widget.src = 'http://localhost:4000/js/search-widget.js';
32+
widget.src = '../js/search-widget.js';
3333
var embedder = document.getElementById('cancerresearch-search-widget');
3434
embedder.parentNode.insertBefore(widget, embedder);
3535

3636
var stylingRef = document.createElement('link');
3737
stylingRef.setAttribute('rel', 'stylesheet');
3838
stylingRef.setAttribute('type', 'text/css');
39-
stylingRef.setAttribute('href', 'http://localhost:4000/css/search-widget_css.css');
39+
stylingRef.setAttribute('href', '../css/search-widget_css.css');
4040
document.getElementsByTagName('head')[0].appendChild(stylingRef); }
4141

4242
if (window.attachEvent)

0 commit comments

Comments
 (0)