use original lookup word in wikipedia lookup
This commit is contained in:
1 parent
a275a8cc89
commit
f575797b01
3 files changed
+8
-6
No files matched your search
@@ -44,7 +44,7 @@ function ReaderWikipedia:onLookupWikipedia(word, box)
|
||||
table.insert(results, result)
|
||||
end
|
||||
DEBUG("lookup result:", word, results)
|
||||
self:showDict(results, box)
|
||||
self:showDict(word, results, box)
|
||||
else
|
||||
DEBUG("error:", pages)
|
||||
-- dummy results
|
||||
@@ -56,7 +56,7 @@ function ReaderWikipedia:onLookupWikipedia(word, box)
|
||||
}
|
||||
}
|
||||
DEBUG("dummy result table:", word, results)
|
||||
self:showDict(results, box)
|
||||
self:showDict(word, results, box)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user