mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Put 'narrow to messages containing' before 'find in page'.
This fixes Trac #740. (imported from commit e40ffa149eac3c7d954d6cac617935496d366ce4)
This commit is contained in:
parent
85db4eba46
commit
0eca9fa595
@ -48,8 +48,8 @@ exports.update_typeahead = function () {
|
||||
});
|
||||
var options = streams.concat(people);
|
||||
// The first two slots are reserved for our query.
|
||||
options.unshift({action: 'operators', query: '', operators: []});
|
||||
options.unshift({action: 'search', query: ''});
|
||||
options.unshift({action: 'operators', query: '', operators: []});
|
||||
|
||||
mapped = {};
|
||||
labels = [];
|
||||
@ -111,7 +111,7 @@ function searchbox_sorter(items) {
|
||||
});
|
||||
|
||||
var query = this.query;
|
||||
$.each(['search', 'operators', 'stream', 'private_message'], function (idx, action) {
|
||||
$.each(['operators', 'search', 'stream', 'private_message'], function (idx, action) {
|
||||
var objs = objects_by_action[action];
|
||||
if (!objs)
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user