lbry.lighthouse.search() -> lighthouse.search() in two files
This commit is contained in:
parent
a4303fe1ad
commit
78ed1b9dcd
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ var MyFilesPage = React.createClass({
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
lbry.lighthouse.search(name, (results) => {
|
lighthouse.search(name, (results) => {
|
||||||
var result = results[0];
|
var result = results[0];
|
||||||
|
|
||||||
var available = result.name == name && result.available;
|
var available = result.name == name && result.available;
|
||||||
|
|
|
@ -121,7 +121,7 @@ var DetailPage = React.createClass({
|
||||||
componentWillMount: function() {
|
componentWillMount: function() {
|
||||||
document.title = 'lbry://' + this.props.name;
|
document.title = 'lbry://' + this.props.name;
|
||||||
|
|
||||||
lbry.lighthouse.search(this.props.name, (results) => {
|
lighthouse.search(this.props.name, (results) => {
|
||||||
var result = results[0];
|
var result = results[0];
|
||||||
|
|
||||||
if (result.name != this.props.name) {
|
if (result.name != this.props.name) {
|
||||||
|
|
Loading…
Reference in a new issue