Fix broken suggestions for preview.

Change-Id: I1a13a3a9d9e38470ac040a37cdd04319bd6340e6
This commit is contained in:
Dirk Dougherty 2016-03-09 14:07:31 -08:00
parent 8866b1a45e
commit 49a5668d6f

View file

@ -2362,10 +2362,10 @@ function search_changed(e, kd, toroot)
}
// Search for Preview Guides
for (var i=0; i<_RESOURCES.length; i++) {
for (var i=0; i<PREVIEW_RESOURCES.length; i++) {
// current search comparison, with counters for tag and title,
// used later to improve ranking
var s = _RESOURCES[i];
var s = PREVIEW_RESOURCES[i];
s.matched_tag = 0;
s.matched_title = 0;
var matched = false;