mirror of https://github.com/vector-im/riot-web
Remove logging.
parent
d62520482a
commit
3206527d73
|
@ -306,10 +306,7 @@ export default React.createClass({
|
||||||
_updateWidgetTitle(url) {
|
_updateWidgetTitle(url) {
|
||||||
this._scalarClient.getScalarPageTitle(url).then((widgetPageTitle) => {
|
this._scalarClient.getScalarPageTitle(url).then((widgetPageTitle) => {
|
||||||
if (widgetPageTitle) {
|
if (widgetPageTitle) {
|
||||||
console.log("Got page title", widgetPageTitle);
|
|
||||||
this.setState({widgetPageTitle: widgetPageTitle});
|
this.setState({widgetPageTitle: widgetPageTitle});
|
||||||
} else {
|
|
||||||
console.error("No page title");
|
|
||||||
}
|
}
|
||||||
}, (err) =>{
|
}, (err) =>{
|
||||||
console.error("Failed to get page title", err);
|
console.error("Failed to get page title", err);
|
||||||
|
|
Loading…
Reference in New Issue