diff --git a/index.html b/index.html
index bc2f360..a226ad7 100644
--- a/index.html
+++ b/index.html
@@ -367,6 +367,7 @@ function linkify( selector ) {
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
+ // { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
diff --git a/plugin/search/search.js b/plugin/search/search.js
index 29add45..ae6582e 100644
--- a/plugin/search/search.js
+++ b/plugin/search/search.js
@@ -155,13 +155,16 @@ function Hilitor(id, tag)
var searchElement = document.createElement( 'div' );
searchElement.id = "searchinputdiv";
searchElement.classList.add( 'searchdiv' );
+ searchElement.style.position = 'absolute';
+ searchElement.style.top = '10px';
+ searchElement.style.left = '10px';
//embedded base64 search icon Designed by Sketchdock - http://www.sketchdock.com/:
- searchElement.innerHTML = '';
+ searchElement.innerHTML = '';
dom.wrapper.appendChild( searchElement );
}
document.getElementById("searchbutton").addEventListener( 'click', function(event) {
- toggleSearch();
+ doSearch();
}, false );
document.getElementById("searchinput").addEventListener( 'keyup', function( event ) {