Ver código fonte

Merge pull request #3612 from invictusmaneo/bug/3610

Bugfix for #3610
bubble
Kyle 7 anos atrás
committed by GitHub
pai
commit
f5df9ff173
3 arquivos alterados com 10 adições e 10 exclusões
  1. +6
    -6
      src/core/components/operation.jsx
  2. +2
    -2
      src/core/components/operations.jsx
  3. +2
    -2
      src/style/_layout.scss

+ 6
- 6
src/core/components/operation.jsx Ver arquivo

@@ -161,12 +161,12 @@ export default class Operation extends PureComponent {
<div className={`opblock-summary opblock-summary-${method}`} onClick={this.toggleShown} >
<span className="opblock-summary-method">{method.toUpperCase()}</span>
<span className={ deprecated ? "opblock-summary-path__deprecated" : "opblock-summary-path" } >
<a
className="nostyle"
onClick={(e) => e.preventDefault()}
href={ isDeepLinkingEnabled ? `#/${isShownKey[1]}/${isShownKey[2]}` : ""} >
<span>{path}</span>
</a>
<a
className="nostyle"
onClick={isDeepLinkingEnabled ? (e) => e.preventDefault() : null}
href={isDeepLinkingEnabled ? `#/${isShownKey[1]}/${isShownKey[2]}` : null}>
<span>{path}</span>
</a>
<JumpToPath path={jumpToKey} />
</span>



+ 2
- 2
src/core/components/operations.jsx Ver arquivo

@@ -81,8 +81,8 @@ export default class Operations extends React.Component {
id={isShownKey.join("-")}>
<a
className="nostyle"
onClick={(e) => e.preventDefault()}
href={ isDeepLinkingEnabled ? `#/${tag}` : ""}>
onClick={isDeepLinkingEnabled ? (e) => e.preventDefault() : null}
href= {isDeepLinkingEnabled ? `#/${tag}` : null}>
<span>{tag}</span>
</a>
{ !tagDescription ? null :


+ 2
- 2
src/style/_layout.scss Ver arquivo

@@ -726,12 +726,12 @@ section
a.nostyle {
text-decoration: inherit;
color: inherit;
cursor: auto;
cursor: pointer;
display: inline;

&:visited {
text-decoration: inherit;
color: inherit;
cursor: auto;
cursor: pointer;
}
}

Carregando…
Cancelar
Salvar