зеркало из https://github.com/mozilla/ubiquity.git
Fixed "Yahoo!". Made "view selection source" work on frames/sidebar/etc.
This commit is contained in:
Родитель
9d309b043a
Коммит
7dbc849bc9
|
@ -83,7 +83,7 @@ CmdUtils.CreateCommand({
|
|||
.viewPartialSource.call(0, "selection");
|
||||
},
|
||||
preview: function vss_preview(pb) {
|
||||
var {window} = CmdUtils, sel = window.getSelection();
|
||||
var sel = context.focusedWindow.getSelection();
|
||||
if (sel.isCollapsed) return void this.previewDefault(pb);
|
||||
|
||||
XML.prettyPrinting = true;
|
||||
|
|
|
@ -439,10 +439,9 @@ CmdUtils.makeSearchCommand({
|
|||
Utils.paramsToString({
|
||||
appid: ("wZ.3jHnV34GC4QakIuzfgHTGiU..1SfNPw" +
|
||||
"PAuasmt.L5ytoIPOuZAdP1txE4s6KfRBp9"),
|
||||
query: "%s",
|
||||
results: 6,
|
||||
output: "json",
|
||||
})),
|
||||
}, "?query=%s&")),
|
||||
type: "json",
|
||||
container: "ResultSet.Result",
|
||||
href: "Url",
|
||||
|
|
Загрузка…
Ссылка в новой задаче