File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,14 @@ <h1 class="hero-title col-1-1">{% if page.hero-title %}{{page.hero-title}}{% els
29
29
var widget = document . createElement ( 'script' ) ;
30
30
widget . type = 'text/javascript' ;
31
31
widget . async = true ;
32
- widget . src = 'http://localhost:4000 /js/search-widget.js' ;
32
+ widget . src = '.. /js/search-widget.js' ;
33
33
var embedder = document . getElementById ( 'cancerresearch-search-widget' ) ;
34
34
embedder . parentNode . insertBefore ( widget , embedder ) ;
35
35
36
36
var stylingRef = document . createElement ( 'link' ) ;
37
37
stylingRef . setAttribute ( 'rel' , 'stylesheet' ) ;
38
38
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' ) ;
40
40
document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( stylingRef ) ; }
41
41
42
42
if ( window . attachEvent )
You can’t perform that action at this time.
0 commit comments