[commit: haddock] ghc-head, ghc-head1, master, wip/revert-ttg-2017-11-20, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: Add search button to #page-menu (3c8e0fd)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:10:26 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: ghc-head,ghc-head1,master,wip/revert-ttg-2017-11-20,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/3c8e0fd3701eceaa6b8a94cc323aabd82daed5da

>---------------------------------------------------------------

commit 3c8e0fd3701eceaa6b8a94cc323aabd82daed5da
Author: alexbiehl <alex.biehl at gmail.com>
Date:   Mon Aug 28 18:44:08 2017 +0200

    Add search button to #page-menu


>---------------------------------------------------------------

3c8e0fd3701eceaa6b8a94cc323aabd82daed5da
 haddock-api/resources/html/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haddock-api/resources/html/index.js b/haddock-api/resources/html/index.js
index 9123f8a..da1b8cf 100644
--- a/haddock-api/resources/html/index.js
+++ b/haddock-api/resources/html/index.js
@@ -53,7 +53,7 @@ var PageMenuButton = createClass({
 });
 
 function addSearchPageMenuButton(action) {
-  var pageMenu = document.querySelector('#package-header ul.links');
+  var pageMenu = document.querySelector('#page-menu');
   var dummy = document.createElement('li');
   pageMenu.insertBefore(dummy, pageMenu.firstChild);
   preact.render(h(PageMenuButton, { onClick: action, title: "Search" }), pageMenu, dummy);



More information about the ghc-commits mailing list