1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00

Load GCSE code on document.ready. Revert to normal gcse:search tag.

This commit is contained in:
Markus Birth 2016-12-19 12:44:25 +01:00
parent 0ee152a297
commit 67ae3f3dd3
2 changed files with 9 additions and 8 deletions

View File

@ -44,7 +44,7 @@
</section> </section>
</div> </div>
<div id="headerright"> <div id="headerright">
<gcse:searchbox-only></gcse:searchbox-only> <gcse:search></gcse:search>
</div> </div>
</div> </div>
</header> </header>

View File

@ -1,5 +1,6 @@
--- ---
--- ---
$(document).ready ->
cx = '005859900804634181508%3A3bt_l7jyk2e' cx = '005859900804634181508%3A3bt_l7jyk2e'
gcse = document.createElement 'script' gcse = document.createElement 'script'
gcse.type = 'text/javascript' gcse.type = 'text/javascript'