clipboard - not working #8
This commit is contained in:
@@ -85,7 +85,17 @@ class MineSeeker extends React.Component {
|
||||
overlay: true,
|
||||
overlayTitle: "We are waiting for your opponent...",
|
||||
overlaySubTitle: this.state.gameAssoc
|
||||
? <a href={"/play/" + this.state.gameAssoc} target="_blank">Play w/ me!</a>
|
||||
?
|
||||
<div>
|
||||
<div className="clippy">
|
||||
<input id="foo"
|
||||
defaultValue={window.location.href + '/' + this.state.gameAssoc}/>
|
||||
<button className="btn">
|
||||
<img src="/bundles/mineseeker/images/clippy.svg" alt="Copy to clipboard"/>
|
||||
</button>
|
||||
</div>
|
||||
<a href={"/play/" + this.state.gameAssoc} target="_blank">Play w/ me!</a>
|
||||
</div>
|
||||
: '',
|
||||
renderGridFields: this.state.gameAssoc
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user