mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-06 15:35:44 +01:00
Remove partial URL encoding from quick search completions. Ref 440caa218bda.
This commit is contained in:
@@ -627,6 +627,7 @@ var Bookmarks = Module("bookmarks", {
|
|||||||
context.fork("keyword/" + keyword, keyword.length + space.length, null, function (context) {
|
context.fork("keyword/" + keyword, keyword.length + space.length, null, function (context) {
|
||||||
context.format = history.format;
|
context.format = history.format;
|
||||||
context.title = [/*L*/keyword + " Quick Search"];
|
context.title = [/*L*/keyword + " Quick Search"];
|
||||||
|
context.keys = { text: "url", description: "title", icon: "icon" };
|
||||||
// context.background = true;
|
// context.background = true;
|
||||||
context.compare = CompletionContext.Sort.unsorted;
|
context.compare = CompletionContext.Sort.unsorted;
|
||||||
context.generate = function () {
|
context.generate = function () {
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ var Template = Module("Template", {
|
|||||||
|
|
||||||
// Fixes some strange stack rewinds on NS_ERROR_OUT_OF_MEMORY
|
// Fixes some strange stack rewinds on NS_ERROR_OUT_OF_MEMORY
|
||||||
// exceptions that we can't catch.
|
// exceptions that we can't catch.
|
||||||
stringify: function (arg) {
|
stringify: function stringify(arg) {
|
||||||
if (!callable(arg))
|
if (!callable(arg))
|
||||||
return String(arg);
|
return String(arg);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user