From 13046a0337a3e5d8359cd2d8e01426683ea7bcc1 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Fri, 8 Mar 2013 19:48:30 -0500
Subject: merge search plugin, adjust styles
---
plugin/search/search.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'plugin/search/search.js')
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 ) {
--
cgit v1.2.3