Remove unused ID searchForm
authorMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 22:07:39 +0000 (23:07 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 1 Jul 2013 22:07:39 +0000 (23:07 +0100)
experiments/spclient/html-structure.txt
experiments/spclient/mkws.js

index 8c5037a..4965a80 100644 (file)
@@ -10,7 +10,7 @@ identifier and .CLASS indicates an instance of a class.
   ( a | span )*
 
 #mkwsSearch
-  form#searchForm
+  form
     input#query type=text
     input#button type=submit
 
index 8fa3b76..46c84b2 100644 (file)
@@ -535,7 +535,7 @@ function mkws_html_all(config) {
     // document.search.query being undefined, hence the raw HTML.
     debug("HTML search form");
     $("#mkwsSearch").html('\
-    <form id="searchForm" name="search" action="" >\
+    <form name="search" action="" >\
       <input id="query" type="text" size="' + mkws_config.query_width + '" />\
       <input id="button" type="submit" value="' + M('Search') + '" />\
     </form>');