diff --git a/src/core/components/operation.jsx b/src/core/components/operation.jsx index b84b40c6..eb21b8db 100644 --- a/src/core/components/operation.jsx +++ b/src/core/components/operation.jsx @@ -161,12 +161,12 @@ export default class Operation extends PureComponent {
{method.toUpperCase()} - e.preventDefault()} - href={ isDeepLinkingEnabled ? `#/${isShownKey[1]}/${isShownKey[2]}` : ""} > - {path} - + e.preventDefault() : null} + href={isDeepLinkingEnabled ? `#/${isShownKey[1]}/${isShownKey[2]}` : null}> + {path} + diff --git a/src/core/components/operations.jsx b/src/core/components/operations.jsx index ef1d4248..2aec664a 100644 --- a/src/core/components/operations.jsx +++ b/src/core/components/operations.jsx @@ -81,8 +81,8 @@ export default class Operations extends React.Component { id={isShownKey.join("-")}> e.preventDefault()} - href={ isDeepLinkingEnabled ? `#/${tag}` : ""}> + onClick={isDeepLinkingEnabled ? (e) => e.preventDefault() : null} + href= {isDeepLinkingEnabled ? `#/${tag}` : null}> {tag} { !tagDescription ? null : diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 9ee357f0..427c7dc5 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -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; } }