Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Use class attribute in embedded links to reduce span elements #233

@damithc

Description

@damithc

In many places where embedded links are used, the inside <span class="embedded-link"> element can be eliminated by adding class="embedded-link" to the outside <span> element.
This code

<span onclick="getContentUsingAjax('handbook-project-v04', '#embedded-week11-handbook');">
    <span class="embedded-link">V0.4 Requirements</span>
</span>

can be shortened as

<span onclick="getContentUsingAjax('handbook-project-v04', '#embedded-week11-handbook');" class="embedded-link">
    V0.4 Requirements
</span>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions