on master help sign in
- Fix ESLint warnings regarding anchor hrefs
1abe245Chris Johnson
src/bridge/components/StatelessTransaction.js+1−1
@@ -264,7 +264,7 @@ class StatelessTransaction extends React.Component {
264 )
264 )
265
265
266 const toggleGasDetailsDialogue = (
266 const toggleGasDetailsDialogue = (
267− <a href="javascript:void(0)" onClick={toggleGasDetails}>Gas Details</a>
267+ <span className="text-link" onClick={toggleGasDetails}>Gas Details</span>
268 )
268 )
269
269
270 const gasPriceDialogue =
270 const gasPriceDialogue =
src/bridge/style/extend.css+5
@@ -466,6 +466,11 @@ code {
466 cursor: pointer;
466 cursor: pointer;
467}
467}
468
468
469+.text-link {
470+ cursor: pointer;
471+ text-decoration: underline;
472+}
473+
469.keyfile {
474.keyfile {
470 white-space: pre-wrap;
475 white-space: pre-wrap;
471 word-break: break-word;
476 word-break: break-word;
src/common/components/AppNavigation.js+5−5
@@ -23,17 +23,17 @@ class AppNavigation extends React.Component {
23 let style = {
23 let style = {
24 position: "fixed",
24 position: "fixed",
25 bottom: "10px",
25 bottom: "10px",
26− right: "10px"
26+ right: "10px",
27+ "text-decoration": "underline",
28+ cursor: "pointer"
27 }
29 }
28
30
29 return (
31 return (
30− <a
32+ <span
31− href="javascript:void(0)"
32− type="button"
33 style={style}
33 style={style}
34 onClick={this.navigate}>
34 onClick={this.navigate}>
35 {buttonText}
35 {buttonText}
36− </a>
36+ </span>
37 )
37 )
38 }
38 }
39}
39}