mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Replace application/basilisk with browser/
This commit is contained in:
parent
dabb92b3f9
commit
daa6179d22
1839 changed files with 72 additions and 74 deletions
15
browser/base/content/newtab/search.js
Normal file
15
browser/base/content/newtab/search.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifdef 0
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#endif
|
||||
|
||||
var gSearch = {
|
||||
init: function () {
|
||||
document.getElementById("newtab-search-submit")
|
||||
.addEventListener("click", e => this._contentSearchController.search(e));
|
||||
let textbox = document.getElementById("newtab-search-text");
|
||||
this._contentSearchController =
|
||||
new ContentSearchUIController(textbox, textbox.parentNode, "newtab", "newtab");
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue