Skip to content

Commit 9b8b53e

Browse files
committed
Merge branch 'cruk-clinical-trials' of https://github.com/pebblecode/pebblecode.github.io into cruk-clinical-trials
2 parents 772de7b + d43c42e commit 9b8b53e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

_layouts/cruk-search-widget.html

Lines changed: 2 additions & 3 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://pebblecode.com/js/search-widget.js';
32+
widget.src = 'http://localhost:4000/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://pebblecode.com/css/search-widget_css.css');
39+
stylingRef.setAttribute('href', 'http://localhost:4000/css/search-widget_css.css');
4040
document.getElementsByTagName('head')[0].appendChild(stylingRef); }
4141

4242
if (window.attachEvent)
@@ -63,7 +63,6 @@ <h1 class="hero-title col-1-1">{% if page.hero-title %}{{page.hero-title}}{% els
6363
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
6464
<script>window.jQuery || document.write('<script src="js/vendor/jquery-2.1.1.min.js""><\/script>')</script>
6565
<script type="text/javascript" src="{{ site.baseurl }}/js/main.js"></script>
66-
<script type="text/javascript" src="{{ site.baseurl }}/js/search-widget.js"></script>
6766
<!-- /scripts-->
6867

6968
</body>

0 commit comments

Comments
 (0)