Make header text display in Safari
This commit is contained in:
parent
0ebbe4427b
commit
c371c7c758
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ var Header = React.createClass({
|
|||
},
|
||||
componentWillMount: function() {
|
||||
new MutationObserver(function(mutations) {
|
||||
this.setState({ title: mutations[0].target.innerHTML });
|
||||
this.setState({ title: mutations[0].target.textContent });
|
||||
}.bind(this)).observe(
|
||||
document.querySelector('title'),
|
||||
{ subtree: true, characterData: true, childList: true }
|
||||
|
|
Loading…
Reference in a new issue