Skip to content

Conversation

@jeff-phillips-18
Copy link
Member

Using href="#" causes a redirect when html5mode is on.
Using href="" causes a redirect when html5mode is off.
Removing it completely doesn't cause a redirect in either case.

@waldenraines
Copy link

Will the <a>s get cursor:pointer; without the href?

@dtaylor113
Copy link
Member

LGTM

@jeff-phillips-18
Copy link
Member Author

Ugh, @waldenraines you are correct, we lost the pointer. I will fix it.

@jeff-phillips-18
Copy link
Member Author

Add CSS to put back missing pointer cursors

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts about making an <a> always have cursor: pointer; not just within the toolbar?

@jeff-phillips-18
Copy link
Member Author

I'm hesitant to make that broad of a stroke.

@waldenraines
Copy link

I'm hesitant to make that broad of a stroke.

Yeah, I hear ya, but I wonder if there is any valid reason to use an <a> that is not a link.

I won't hold this PR up on this comment but it may be something to revisit if we find ourselves having to do this elsewhere.

LGTM

@waldenraines
Copy link

@jeff-phillips-18 this will need a rebase now because I just merged #100, sorry about that.

@jeff-phillips-18
Copy link
Member Author

Rebased and squashed

waldenraines pushed a commit that referenced this pull request Sep 25, 2015
Remove href="#" from html A tags to avoid unwanted redirections
@waldenraines waldenraines merged commit 4d5e9d8 into patternfly:master Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants