lbry.lighthouse.search() -> lighthouse.search() in two files

This commit is contained in:
Alex Liebowitz 2016-12-07 15:14:47 -05:00
parent a4303fe1ad
commit 78ed1b9dcd
2 changed files with 2 additions and 2 deletions

View file

@ -241,7 +241,7 @@ var MyFilesPage = React.createClass({
continue;
}
lbry.lighthouse.search(name, (results) => {
lighthouse.search(name, (results) => {
var result = results[0];
var available = result.name == name && result.available;

View file

@ -121,7 +121,7 @@ var DetailPage = React.createClass({
componentWillMount: function() {
document.title = 'lbry://' + this.props.name;
lbry.lighthouse.search(this.props.name, (results) => {
lighthouse.search(this.props.name, (results) => {
var result = results[0];
if (result.name != this.props.name) {